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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001759/0.001758, allocations: 179.8 kB / 8.353 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.681/1.681, allocations: 194.3 MB / 203.1 MB, free: 9.25 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001731/0.001732, allocations: 116.5 kB / 248.1 MB, free: 6.367 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1667/0.1667, allocations: 37.93 MB / 330.9 MB, free: 7.301 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.695e-05/1.697e-05, allocations: 0 / 390.5 MB, free: 78.14 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08822, allocations: 53.23 MB / 443.7 MB, free: 25.01 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4455, allocations: 88.25 MB / 0.5195 GB, free: 11.09 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.4458, allocations: 78.45 kB / 0.5195 GB, free: 11.07 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02766/0.4734, allocations: 13.06 MB / 0.5323 GB, free: 5.648 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4735, allocations: 0 / 0.5323 GB, free: 5.648 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.4735, allocations: 7.656 kB / 0.5323 GB, free: 5.648 MB / 347.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.0005468/0.474, allocations: 488.1 kB / 0.5328 GB, free: 5.199 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4741, allocations: 11.56 kB / 0.5328 GB, free: 5.199 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/0.4749, allocations: 93.55 kB / 0.5329 GB, free: 5.16 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4752, allocations: 270.2 kB / 0.5331 GB, free: 4.918 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4752, allocations: 7.797 kB / 0.5331 GB, free: 4.914 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.4753, allocations: 11.34 kB / 0.5331 GB, free: 4.914 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002815/0.4756, allocations: 192.8 kB / 0.5333 GB, free: 4.891 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.4759, allocations: 274.6 kB / 0.5336 GB, free: 4.766 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4759, allocations: 7.938 kB / 0.5336 GB, free: 4.758 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.476, allocations: 4 kB / 0.5336 GB, free: 4.754 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.4761, allocations: 26.98 kB / 0.5336 GB, free: 4.746 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4774, allocations: 1.251 MB / 0.5349 GB, free: 3.805 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4776, allocations: 154.8 kB / 0.535 GB, free: 3.742 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.341e-05/0.4777, allocations: 53.92 kB / 0.535 GB, free: 3.719 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.4778, allocations: 3.938 kB / 0.5351 GB, free: 3.715 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.4778, allocations: 34.56 kB / 0.5351 GB, free: 3.672 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.4778, allocations: 3.844 kB / 0.5351 GB, free: 3.672 MB / 347.1 MB Notification: Performance of matching and sorting (n=14): time 0.000554/0.4783, allocations: 263.4 kB / 0.5353 GB, free: 3.547 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.4784, allocations: 81.09 kB / 0.5354 GB, free: 3.449 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4785, allocations: 157.2 kB / 0.5356 GB, free: 3.344 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.4785, allocations: 25.92 kB / 0.5356 GB, free: 3.312 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.4786, allocations: 162.5 kB / 0.5357 GB, free: 3.18 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4786, allocations: 54.3 kB / 0.5358 GB, free: 3.137 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.4786, allocations: 0 / 0.5358 GB, free: 3.137 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.4787, allocations: 333.2 kB / 0.5361 GB, free: 2.812 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.4787, allocations: 47.14 kB / 0.5362 GB, free: 2.809 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.4788, allocations: 139.2 kB / 0.5363 GB, free: 2.676 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.4789, allocations: 74.58 kB / 0.5364 GB, free: 2.656 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4789, allocations: 0 / 0.5364 GB, free: 2.656 MB / 347.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003235/0.4793, allocations: 224.3 kB / 0.5366 GB, free: 2.562 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4793, allocations: 7.562 kB / 0.5366 GB, free: 2.562 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4793, allocations: 3.812 kB / 0.5366 GB, free: 2.562 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.4795, allocations: 35.27 kB / 0.5366 GB, free: 2.547 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.4797, allocations: 46.08 kB / 0.5367 GB, free: 2.539 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008611/0.4805, allocations: 1.295 MB / 0.5379 GB, free: 1.285 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4807, allocations: 7.891 kB / 0.5379 GB, free: 1.281 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4807, allocations: 7.406 kB / 0.5379 GB, free: 1.281 MB / 347.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.4808, allocations: 118.7 kB / 0.5381 GB, free: 1.168 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002638/0.481, allocations: 162 kB / 0.5382 GB, free: 1.094 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.4811, allocations: 23.11 kB / 0.5382 GB, free: 1.082 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.4814, allocations: 166.8 kB / 0.5384 GB, free: 1.016 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4814, allocations: 0 / 0.5384 GB, free: 1.016 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4814, allocations: 7.844 kB / 0.5384 GB, free: 1.012 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4814, allocations: 0 / 0.5384 GB, free: 1.012 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.482, allocations: 0.4991 MB / 0.5389 GB, free: 0.5664 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.482, allocations: 0 / 0.5389 GB, free: 0.5664 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.4821, allocations: 20.08 kB / 0.5389 GB, free: 0.5469 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.4822, allocations: 40.08 kB / 0.5389 GB, free: 0.5078 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4822, allocations: 4 kB / 0.539 GB, free: 0.5039 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008551/0.4831, allocations: 1.258 MB / 0.5402 GB, free: 15.18 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4831, allocations: 0 / 0.5402 GB, free: 15.18 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4835, allocations: 336.2 kB / 0.5405 GB, free: 14.82 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.4836, allocations: 92.42 kB / 0.5406 GB, free: 14.72 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.4836, allocations: 4 kB / 0.5406 GB, free: 14.71 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.4837, allocations: 3.984 kB / 0.5406 GB, free: 14.71 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.4837, allocations: 12 kB / 0.5406 GB, free: 14.7 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4838, allocations: 15.86 kB / 0.5406 GB, free: 14.68 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.4839, allocations: 125.2 kB / 0.5407 GB, free: 14.58 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4839, allocations: 0 / 0.5407 GB, free: 14.58 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.4843, allocations: 55.94 kB / 0.5408 GB, free: 14.52 MB / 363.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008679/0.4851, allocations: 1.132 MB / 0.5419 GB, free: 13.37 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.4856, allocations: 236.1 kB / 0.5421 GB, free: 13.16 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4856, allocations: 0 / 0.5421 GB, free: 13.16 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.4858, allocations: 164 kB / 0.5423 GB, free: 13 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4862, allocations: 29.86 kB / 0.5423 GB, free: 12.98 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.487, allocations: 358 kB / 0.5427 GB, free: 12.62 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.4874, allocations: 0.7753 MB / 0.5434 GB, free: 11.82 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4875, allocations: 33.83 kB / 0.5434 GB, free: 11.79 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.4876, allocations: 58.78 kB / 0.5435 GB, free: 11.77 MB / 363.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4876, allocations: 0 / 0.5435 GB, free: 11.77 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.5104, allocations: 2.989 MB / 0.5464 GB, free: 8.777 MB / 363.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.5107, allocations: 141.1 kB / 0.5466 GB, free: 8.582 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.105, allocations: 3.938 kB / 0.5466 GB, free: 8.578 MB / 363.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/linux/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)