Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002319/0.002326, allocations: 180.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 82.23 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2584/0.2584, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.521e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 56.32 MB / 466.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.6344, allocations: 94.6 MB / 0.5477 GB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.6347, allocations: 82.64 kB / 0.5478 GB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05154/0.6863, allocations: 14.52 MB / 0.562 GB, free: 4.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6863, allocations: 0 / 0.562 GB, free: 4.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.6863, allocations: 4 kB / 0.562 GB, free: 4.09 MB / 362.7 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.0007431/0.6871, allocations: 494.1 kB / 0.5625 GB, free: 3.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6872, allocations: 12.03 kB / 0.5625 GB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.6887, allocations: 114.2 kB / 0.5626 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.6893, allocations: 274.8 kB / 0.5628 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.6893, allocations: 4 kB / 0.5628 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.6894, allocations: 15.94 kB / 0.5629 GB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005332/0.6899, allocations: 198 kB / 0.563 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.6905, allocations: 286.1 kB / 0.5633 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6905, allocations: 3.938 kB / 0.5633 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.6906, allocations: 0 / 0.5633 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.6906, allocations: 15.19 kB / 0.5633 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.693, allocations: 1.291 MB / 0.5646 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.6935, allocations: 219.1 kB / 0.5648 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.6936, allocations: 44.42 kB / 0.5648 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.6937, allocations: 0 / 0.5648 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.6937, allocations: 37.38 kB / 0.5649 GB, free: 1.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.6937, allocations: 0 / 0.5649 GB, free: 1.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003842/0.6941, allocations: 126.2 kB / 0.565 GB, free: 1.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.6942, allocations: 77.11 kB / 0.5651 GB, free: 1.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.6943, allocations: 159.5 kB / 0.5652 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.6944, allocations: 25.7 kB / 0.5653 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.6945, allocations: 231.7 kB / 0.5655 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.6945, allocations: 38.7 kB / 0.5655 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.6946, allocations: 0 / 0.5655 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.6946, allocations: 322.7 kB / 0.5658 GB, free: 304 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.6947, allocations: 38.23 kB / 0.5659 GB, free: 276 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.6949, allocations: 124.9 kB / 0.566 GB, free: 124 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.695, allocations: 67.14 kB / 0.566 GB, free: 72 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.695, allocations: 0 / 0.566 GB, free: 72 kB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004514/0.6955, allocations: 182.7 kB / 0.5662 GB, free: 15.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6955, allocations: 4 kB / 0.5662 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6956, allocations: 4.438 kB / 0.5662 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.6956, allocations: 8 kB / 0.5662 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.696, allocations: 55.72 kB / 0.5663 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.696, allocations: 4 kB / 0.5663 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.6962, allocations: 19.75 kB / 0.5663 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.6962, allocations: 8 kB / 0.5663 GB, free: 15.81 MB / 378.7 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): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6964, allocations: 116.8 kB / 0.5664 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002896/0.6967, allocations: 118.8 kB / 0.5665 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.6967, allocations: 15.88 kB / 0.5665 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.6971, allocations: 124.8 kB / 0.5667 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6971, allocations: 4 kB / 0.5667 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6971, allocations: 0 / 0.5667 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6971, allocations: 3.984 kB / 0.5667 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.6981, allocations: 484.2 kB / 0.5671 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6981, allocations: 4.094 kB / 0.5671 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.6983, allocations: 31.86 kB / 0.5672 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.6984, allocations: 0 / 0.5672 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.6984, allocations: 4 kB / 0.5672 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6984, allocations: 3.984 kB / 0.5672 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6984, allocations: 4 kB / 0.5672 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.6988, allocations: 312 kB / 0.5675 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.6989, allocations: 92.92 kB / 0.5676 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.699, allocations: 4 kB / 0.5676 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6991, allocations: 0 / 0.5676 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.6992, allocations: 11.55 kB / 0.5676 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6992, allocations: 8 kB / 0.5676 GB, free: 14.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.6994, allocations: 129.3 kB / 0.5677 GB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6994, allocations: 0 / 0.5677 GB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.6999, allocations: 55.84 kB / 0.5678 GB, free: 14.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000862/0.7008, allocations: 1.197 MB / 0.5689 GB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.7011, allocations: 108.5 kB / 0.569 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7011, allocations: 0.875 kB / 0.569 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7013, allocations: 47.05 kB / 0.5691 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.7017, allocations: 29.14 kB / 0.5691 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.7028, allocations: 374.5 kB / 0.5695 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.7033, allocations: 0.7663 MB / 0.5702 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.7034, allocations: 62.55 kB / 0.5703 GB, free: 11.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7035, allocations: 0 / 0.5703 GB, free: 11.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.479/3.183, allocations: 3.131 MB / 0.5733 GB, free: 8.641 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)