Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 174.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008498/0.0008499, allocations: 86.73 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4138/0.4138, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.369e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2715, allocations: 69.35 MB / 0.548 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3771, allocations: 99.07 MB / 0.6447 GB, free: 1.355 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.3773, allocations: 75.95 kB / 0.6448 GB, free: 1.281 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05899/0.4363, allocations: 22.69 MB / 0.6669 GB, free: 10.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4364, allocations: 0 / 0.6669 GB, free: 10.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.085e-05/0.4364, allocations: 16.66 kB / 0.667 GB, free: 10.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003045/0.4395, allocations: 1.336 MB / 0.6683 GB, free: 9.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4395, allocations: 15.91 kB / 0.6683 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.4417, allocations: 394.4 kB / 0.6687 GB, free: 8.609 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4428, allocations: 0.6566 MB / 0.6693 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.443, allocations: 231.5 kB / 0.6695 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.4431, allocations: 72.25 kB / 0.6696 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.4444, allocations: 0.7643 MB / 0.6703 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4444, allocations: 0 / 0.6703 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.4445, allocations: 35.98 kB / 0.6704 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4445, allocations: 12 kB / 0.6704 GB, free: 6.754 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4456, allocations: 0.6261 MB / 0.671 GB, free: 6.125 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/0.4507, allocations: 3.325 MB / 0.6742 GB, free: 2.625 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008035/0.4588, allocations: 2.302 MB / 0.6765 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2445/0.7033, allocations: 402.9 kB / 0.6769 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.7034, allocations: 10.28 kB / 0.6769 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7035, allocations: 39.73 kB / 0.6769 GB, free: 107.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.035e-06/0.7035, allocations: 0.6875 kB / 0.6769 GB, free: 107.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005462/0.7089, allocations: 1.751 MB / 0.6786 GB, free: 107.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.709, allocations: 88.23 kB / 0.6787 GB, free: 107.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.7102, allocations: 0.6721 MB / 0.6794 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.236e-05/0.7103, allocations: 39.48 kB / 0.6794 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.7105, allocations: 410.8 kB / 0.6798 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7108, allocations: 262.8 kB / 0.6801 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.7108, allocations: 14.75 kB / 0.6801 GB, free: 107.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.7109, allocations: 334.1 kB / 0.6804 GB, free: 107 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.7115, allocations: 352.8 kB / 0.6807 GB, free: 107 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.7121, allocations: 444.2 kB / 0.6811 GB, free: 106.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.7128, allocations: 388.8 kB / 0.6815 GB, free: 106.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7128, allocations: 1.453 kB / 0.6815 GB, free: 106.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005787/0.7186, allocations: 1.991 MB / 0.6835 GB, free: 106.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.7187, allocations: 0.6253 MB / 0.6841 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.7187, allocations: 1.641 kB / 0.6841 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004285/0.723, allocations: 1.011 MB / 0.6851 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.7236, allocations: 113 kB / 0.6852 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.7308, allocations: 4.544 MB / 0.6896 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/0.7317, allocations: 110.9 kB / 0.6897 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.7318, allocations: 27.16 kB / 0.6897 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.7318, allocations: 3.969 kB / 0.6897 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004888/0.7367, allocations: 1.881 MB / 0.6916 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7367, allocations: 11.39 kB / 0.6916 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.7403, allocations: 1.007 MB / 0.6926 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.7408, allocations: 103.7 kB / 0.6927 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007029/0.7478, allocations: 4.543 MB / 0.6971 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.7487, allocations: 100.7 kB / 0.6972 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.7487, allocations: 29.59 kB / 0.6972 GB, free: 100.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.7489, allocations: 149.7 kB / 0.6974 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.7491, allocations: 95.11 kB / 0.6975 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.7535, allocations: 1.84 MB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7535, allocations: 7.531 kB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7535, allocations: 6.281 kB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.7535, allocations: 7.328 kB / 0.6993 GB, free: 100.1 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.7592, allocations: 3.207 MB / 0.7024 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7592, allocations: 0 / 0.7024 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.7597, allocations: 86.28 kB / 0.7025 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.7623, allocations: 0.8392 MB / 0.7033 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/0.7624, allocations: 11.22 kB / 0.7033 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/0.7673, allocations: 3.523 MB / 0.7068 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7674, allocations: 3.375 kB / 0.7068 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.7721, allocations: 2.421 MB / 0.7091 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.7723, allocations: 191.3 kB / 0.7093 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.7725, allocations: 20 kB / 0.7093 GB, free: 93.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/0.7732, allocations: 64.73 kB / 0.7094 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.7734, allocations: 124.2 kB / 0.7095 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.7735, allocations: 16 kB / 0.7095 GB, free: 93.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005424/0.7741, allocations: 0.5238 MB / 0.71 GB, free: 93.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7741, allocations: 0 / 0.71 GB, free: 93.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001167/0.7752, allocations: 0.515 MB / 0.7105 GB, free: 92.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000228/0.7755, allocations: 160.5 kB / 0.7107 GB, free: 92.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005603/0.7811, allocations: 2.835 MB / 0.7135 GB, free: 89.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7811, allocations: 0 / 0.7135 GB, free: 89.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.7834, allocations: 1.146 MB / 0.7146 GB, free: 88.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.7838, allocations: 66.95 kB / 0.7147 GB, free: 88.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.7866, allocations: 1.607 MB / 0.7162 GB, free: 87.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.7869, allocations: 1.033 MB / 0.7172 GB, free: 86.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005487/0.7875, allocations: 119.4 kB / 0.7173 GB, free: 86.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.7876, allocations: 35.44 kB / 0.7174 GB, free: 86.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7877, allocations: 0 / 0.7174 GB, free: 86.31 MB / 490.7 MB Notification: Performance of Templates: time 0.02353/0.8112, allocations: 19.78 MB / 0.7367 GB, free: 69.03 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)