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.001533/0.001533, allocations: 106.9 kB / 16.62 MB, free: 6.805 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.001426/0.001427, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.238/1.238, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.159/0.159, allocations: 38.03 MB / 329.4 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.14 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07931/0.08061, allocations: 58.06 MB / 456.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004076/0.08471, allocations: 3.682 MB / 460.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.08635, allocations: 1.496 MB / 461.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.08646, allocations: 11.94 kB / 461.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.08712, allocations: 235.2 kB / 461.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.08755, allocations: 263.1 kB / 462.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.08776, allocations: 91.81 kB / 462.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.08807, allocations: 347 kB / 462.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.08834, allocations: 153.9 kB / 462.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.08852, allocations: 147.3 kB / 462.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.08871, allocations: 163.5 kB / 463 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.08874, allocations: 20 kB / 463 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.08909, allocations: 311.2 kB / 463.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.08919, allocations: 99.75 kB / 463.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.08929, allocations: 99.48 kB / 463.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.08964, allocations: 370.9 kB / 463.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.08965, allocations: 0 / 463.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.08966, allocations: 0 / 463.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.08967, allocations: 0 / 463.9 MB, free: 0.8789 MB / 334.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.0005622/0.09024, allocations: 0.5103 MB / 464.4 MB, free: 328 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.09027, allocations: 15.89 kB / 464.4 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.09033, allocations: 58.72 kB / 464.5 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000725/0.09106, allocations: 92.55 kB / 464.6 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.09132, allocations: 248.5 kB / 464.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.09134, allocations: 16.33 kB / 464.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.09138, allocations: 23.92 kB / 464.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.09179, allocations: 314.3 kB / 465.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.09181, allocations: 4 kB / 465.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.09184, allocations: 4 kB / 465.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.09187, allocations: 15.98 kB / 465.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.09224, allocations: 291.7 kB / 465.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.09361, allocations: 1.301 MB / 466.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.09414, allocations: 209.2 kB / 467 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.641e-05/0.09424, allocations: 73.62 kB / 467 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.09427, allocations: 0 / 467 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.0943, allocations: 38.56 kB / 467.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.0943, allocations: 0 / 467.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008018/0.09511, allocations: 426.1 kB / 467.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.09516, allocations: 81.23 kB / 467.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.09531, allocations: 198.3 kB / 467.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.09533, allocations: 25.7 kB / 467.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.09542, allocations: 160 kB / 467.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.09546, allocations: 51.28 kB / 468 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.09552, allocations: 53.55 kB / 468 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.09562, allocations: 334.8 kB / 468.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.0957, allocations: 47.97 kB / 468.4 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.09583, allocations: 157.6 kB / 468.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.09606, allocations: 233.3 kB / 468.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09607, allocations: 0 / 468.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003907/0.09646, allocations: 265.9 kB / 469.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.09648, allocations: 4 kB / 469.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0965, allocations: 7.938 kB / 469.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.0967, allocations: 41.27 kB / 469.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.09684, allocations: 47.91 kB / 469.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009521/0.0978, allocations: 1.437 MB / 470.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.09793, allocations: 4 kB / 470.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.09795, allocations: 12 kB / 470.6 MB, free: 9.566 MB / 350.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.0001174/0.09808, allocations: 157.7 kB / 470.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.09812, allocations: 19.84 kB / 470.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.09845, allocations: 202 kB / 471 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.09847, allocations: 0 / 471 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.09847, allocations: 0 / 471 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.09848, allocations: 0 / 471 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.09916, allocations: 0.5601 MB / 471.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.09918, allocations: 0 / 471.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.09927, allocations: 27.92 kB / 471.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.0994, allocations: 32.77 kB / 471.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.09942, allocations: 4 kB / 471.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008565/0.1003, allocations: 1.437 MB / 473 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1003, allocations: 0 / 473 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1006, allocations: 299.6 kB / 473.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1007, allocations: 92.91 kB / 473.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1007, allocations: 8 kB / 473.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1008, allocations: 4 kB / 473.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1009, allocations: 15.92 kB / 473.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1009, allocations: 4 kB / 473.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.101, allocations: 144.3 kB / 473.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.101, allocations: 0 / 473.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1013, allocations: 52 kB / 473.6 MB, free: 6.258 MB / 350.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.0005119/0.1018, allocations: 0.8334 MB / 474.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.1022, allocations: 274.4 kB / 474.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1023, allocations: 0.875 kB / 474.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1025, allocations: 178.8 kB / 474.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1028, allocations: 35.92 kB / 475 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.105, allocations: 2.43 MB / 477.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1053, allocations: 0.7632 MB / 478.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1054, allocations: 37.52 kB / 478.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.1055, allocations: 55.42 kB / 478.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1055, allocations: 0 / 478.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3243/0.4299, allocations: 3.739 MB / 482 MB, free: 13.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/0.4302, allocations: 224.2 kB / 482.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.033, allocations: 0 / 482.2 MB, free: 13.49 MB / 366.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)