Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json 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/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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1813/0.1813, allocations: 38.04 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 457.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 58.05 MB / 0.5036 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004887/0.3436, allocations: 3.421 MB / 0.5069 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3455, allocations: 1.443 MB / 0.5084 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.3457, allocations: 13.19 kB / 0.5084 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.3467, allocations: 252.6 kB / 0.5086 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000765/0.3474, allocations: 286.7 kB / 0.5089 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3478, allocations: 113.8 kB / 0.509 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.3483, allocations: 347.5 kB / 0.5093 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.3486, allocations: 129.8 kB / 0.5094 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.3489, allocations: 151.2 kB / 0.5096 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.3492, allocations: 146.5 kB / 0.5097 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.3493, allocations: 13.53 kB / 0.5097 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.3499, allocations: 312.7 kB / 0.51 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.35, allocations: 98.73 kB / 0.5101 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3502, allocations: 108.4 kB / 0.5102 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.3508, allocations: 340.5 kB / 0.5106 GB, free: 3.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3508, allocations: 0 / 0.5106 GB, free: 3.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3508, allocations: 3.938 kB / 0.5106 GB, free: 3.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3508, allocations: 1.812 kB / 0.5106 GB, free: 3.082 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007618/0.3516, allocations: 0.5184 MB / 0.5111 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3517, allocations: 9 kB / 0.5111 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.3517, allocations: 63.02 kB / 0.5111 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.3526, allocations: 90.36 kB / 0.5112 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.353, allocations: 267.4 kB / 0.5115 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.353, allocations: 14.97 kB / 0.5115 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.3531, allocations: 20.06 kB / 0.5115 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.3535, allocations: 317.1 kB / 0.5118 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3536, allocations: 1.062 kB / 0.5118 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.3536, allocations: 6.922 kB / 0.5118 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.3536, allocations: 19.27 kB / 0.5118 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.3541, allocations: 290 kB / 0.5121 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3558, allocations: 1.295 MB / 0.5134 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.3564, allocations: 200.1 kB / 0.5136 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.3565, allocations: 69.73 kB / 0.5136 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3565, allocations: 2.125 kB / 0.5136 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.3565, allocations: 32.36 kB / 0.5137 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.3565, allocations: 1.094 kB / 0.5137 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001045/0.3576, allocations: 446.4 kB / 0.5141 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3576, allocations: 84.31 kB / 0.5142 GB, free: 488 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.3578, allocations: 189.8 kB / 0.5144 GB, free: 360 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3579, allocations: 30.86 kB / 0.5144 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.3579, allocations: 165.5 kB / 0.5146 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.358, allocations: 54.44 kB / 0.5146 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.3581, allocations: 45.17 kB / 0.5147 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3582, allocations: 329 kB / 0.515 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3584, allocations: 57.19 kB / 0.515 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3586, allocations: 143.8 kB / 0.5152 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3589, allocations: 226.7 kB / 0.5154 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3589, allocations: 5.125 kB / 0.5154 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004928/0.3594, allocations: 265.5 kB / 0.5156 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3594, allocations: 7.156 kB / 0.5156 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3594, allocations: 2.781 kB / 0.5156 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.3597, allocations: 42.5 kB / 0.5157 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3598, allocations: 43.25 kB / 0.5157 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.3612, allocations: 1.444 MB / 0.5171 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3614, allocations: 9.641 kB / 0.5171 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3614, allocations: 9.562 kB / 0.5172 GB, free: 13.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.3616, allocations: 157.1 kB / 0.5173 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.3617, allocations: 19.66 kB / 0.5173 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.3622, allocations: 193.6 kB / 0.5175 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3622, allocations: 5.5 kB / 0.5175 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3622, allocations: 1.594 kB / 0.5175 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3622, allocations: 0.6094 kB / 0.5175 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3633, allocations: 0.567 MB / 0.5181 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3633, allocations: 1.094 kB / 0.5181 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3634, allocations: 24.08 kB / 0.5181 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.3636, allocations: 35.33 kB / 0.5181 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3636, allocations: 2.828 kB / 0.5181 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.3649, allocations: 1.421 MB / 0.5195 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3649, allocations: 9.312 kB / 0.5195 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.3655, allocations: 293.3 kB / 0.5198 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.3656, allocations: 91.86 kB / 0.5199 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3656, allocations: 7.516 kB / 0.5199 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3657, allocations: 7.422 kB / 0.5199 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3658, allocations: 17.44 kB / 0.5199 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3658, allocations: 9.312 kB / 0.5199 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.366, allocations: 141.2 kB / 0.5201 GB, free: 11.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.366, allocations: 0 / 0.5201 GB, free: 11.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.3664, allocations: 49.47 kB / 0.5201 GB, free: 11.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008186/0.3673, allocations: 0.8508 MB / 0.5209 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.3678, allocations: 268.7 kB / 0.5212 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3678, allocations: 0 / 0.5212 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.3681, allocations: 175.3 kB / 0.5214 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3685, allocations: 32.09 kB / 0.5214 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.3721, allocations: 2.384 MB / 0.5237 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.3727, allocations: 0.7562 MB / 0.5245 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3728, allocations: 45.03 kB / 0.5245 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3729, allocations: 58.28 kB / 0.5246 GB, free: 7.57 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3729, allocations: 0 / 0.5246 GB, free: 7.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.404, allocations: 3.892 MB / 0.5284 GB, free: 6.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.973/10.38, allocations: 5.484 kB / 0.5284 GB, free: 6.977 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)