Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.001146/0.001146, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001135/0.001135, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.186/1.186, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1669/0.1669, allocations: 38.02 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 69.02 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08649, allocations: 58.06 MB / 457 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004345/0.09088, allocations: 3.443 MB / 460.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.0927, allocations: 1.516 MB / 461.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.09281, allocations: 11.88 kB / 461.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006995/0.09351, allocations: 255 kB / 462.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.094, allocations: 275 kB / 462.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.09426, allocations: 127.6 kB / 462.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.09462, allocations: 342.9 kB / 462.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.09487, allocations: 133.9 kB / 463 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.09507, allocations: 151.4 kB / 463.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.09527, allocations: 139.5 kB / 463.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.0953, allocations: 12 kB / 463.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.09574, allocations: 339.1 kB / 463.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.09585, allocations: 95.77 kB / 463.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.09596, allocations: 111.5 kB / 463.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.09637, allocations: 351 kB / 464.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.09638, allocations: 0 / 464.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09639, allocations: 0 / 464.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.0964, allocations: 4 kB / 464.2 MB, free: 0.6562 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.0005614/0.09696, allocations: 0.5064 MB / 464.7 MB, free: 104 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.097, allocations: 11.89 kB / 464.7 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.09706, allocations: 54.73 kB / 464.8 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.09791, allocations: 112.5 kB / 464.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.09819, allocations: 258.8 kB / 465.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.09821, allocations: 16.31 kB / 465.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.09825, allocations: 19.94 kB / 465.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.09871, allocations: 318.3 kB / 465.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.09873, allocations: 0 / 465.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.09876, allocations: 11.98 kB / 465.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.0988, allocations: 19.98 kB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.09923, allocations: 299.7 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1008, allocations: 1.304 MB / 467.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1011, allocations: 198.5 kB / 467.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.1012, allocations: 41.77 kB / 467.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1012, allocations: 4 kB / 467.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1012, allocations: 42.48 kB / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1012, allocations: 0 / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002853/0.1015, allocations: 137.4 kB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1016, allocations: 81.05 kB / 467.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1018, allocations: 211.8 kB / 467.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1018, allocations: 25.7 kB / 467.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.1019, allocations: 175.6 kB / 468 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1019, allocations: 31.55 kB / 468 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.102, allocations: 41.7 kB / 468.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1021, allocations: 326.8 kB / 468.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.1022, allocations: 35.98 kB / 468.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1023, allocations: 147.6 kB / 468.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1025, allocations: 200.5 kB / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1025, allocations: 0 / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002646/0.1028, allocations: 201.5 kB / 469 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1028, allocations: 12.06 kB / 469 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1028, allocations: 4 kB / 469 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1028, allocations: 4.469 kB / 469 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.103, allocations: 43.98 kB / 469 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.103, allocations: 15.92 kB / 469.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1031, allocations: 23.75 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1031, allocations: 8 kB / 469.1 MB, free: 11.35 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 (23): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1033, allocations: 161.6 kB / 469.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1033, allocations: 23.83 kB / 469.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.1035, allocations: 123 kB / 469.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1035, allocations: 0 / 469.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1035, allocations: 0 / 469.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1035, allocations: 4 kB / 469.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.1042, allocations: 0.572 MB / 470 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1042, allocations: 3.938 kB / 470 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.1043, allocations: 20 kB / 470 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1043, allocations: 11.88 kB / 470 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1043, allocations: 7.984 kB / 470 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1043, allocations: 4.312 kB / 470 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1043, allocations: 15.92 kB / 470 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1046, allocations: 279.8 kB / 470.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1046, allocations: 92.92 kB / 470.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1047, allocations: 7.938 kB / 470.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1048, allocations: 11.98 kB / 470.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.1048, allocations: 8 kB / 470.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1048, allocations: 8 kB / 470.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1049, allocations: 157.5 kB / 470.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1049, allocations: 0 / 470.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1053, allocations: 51.84 kB / 470.6 MB, free: 9.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004755/0.1058, allocations: 0.822 MB / 471.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.106, allocations: 115.8 kB / 471.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.106, allocations: 4.875 kB / 471.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.1061, allocations: 44.23 kB / 471.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1064, allocations: 35.08 kB / 471.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1086, allocations: 2.317 MB / 474 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1089, allocations: 0.7593 MB / 474.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.109, allocations: 33.52 kB / 474.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.1091, allocations: 59.42 kB / 474.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1091, allocations: 0 / 474.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.1334, allocations: 3.266 MB / 478.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.343, allocations: 14.52 kB / 478.1 MB, free: 1.918 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)