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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 179.4 kB / 8.352 MB, free: 0.7227 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.596/1.596, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 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: 122.1 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1621/0.1621, allocations: 37.93 MB / 330.9 MB, free: 2.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.956e-05, allocations: 4 kB / 390.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3334, allocations: 53.22 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4637, allocations: 89.62 MB / 0.5208 GB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.464, allocations: 83.95 kB / 0.5209 GB, free: 7.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3567/0.8207, allocations: 14.48 MB / 0.535 GB, free: 88.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8208, allocations: 4 kB / 0.535 GB, free: 88.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.8208, allocations: 4.188 kB / 0.535 GB, free: 88.92 MB / 378.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.0008015/0.8216, allocations: 494.9 kB / 0.5355 GB, free: 88.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.8217, allocations: 9.375 kB / 0.5355 GB, free: 88.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.8228, allocations: 120.8 kB / 0.5356 GB, free: 88.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.8232, allocations: 269.6 kB / 0.5359 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.8233, allocations: 10.25 kB / 0.5359 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.8233, allocations: 9.688 kB / 0.5359 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004275/0.8237, allocations: 198.9 kB / 0.5361 GB, free: 88.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.8242, allocations: 281.6 kB / 0.5364 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8242, allocations: 1.031 kB / 0.5364 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.8242, allocations: 3.953 kB / 0.5364 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.8243, allocations: 19.83 kB / 0.5364 GB, free: 88.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.8261, allocations: 1.299 MB / 0.5377 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.8265, allocations: 211.4 kB / 0.5379 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.8266, allocations: 41.11 kB / 0.5379 GB, free: 86.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.8266, allocations: 6.25 kB / 0.5379 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.8266, allocations: 35.75 kB / 0.5379 GB, free: 86.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.8266, allocations: 0 / 0.5379 GB, free: 86.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003002/0.8269, allocations: 112.6 kB / 0.538 GB, free: 86.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.827, allocations: 78.14 kB / 0.5381 GB, free: 86.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.8271, allocations: 163 kB / 0.5383 GB, free: 86.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.8272, allocations: 27.2 kB / 0.5383 GB, free: 86.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.8273, allocations: 179.1 kB / 0.5385 GB, free: 86.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.8273, allocations: 41.98 kB / 0.5385 GB, free: 86.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.8273, allocations: 0 / 0.5385 GB, free: 86.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.8274, allocations: 329.8 kB / 0.5388 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.8275, allocations: 34.78 kB / 0.5389 GB, free: 86.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.8276, allocations: 134.4 kB / 0.539 GB, free: 85.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.661e-05/0.8277, allocations: 59.48 kB / 0.539 GB, free: 85.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.8277, allocations: 0 / 0.539 GB, free: 85.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002264/0.8279, allocations: 184.6 kB / 0.5392 GB, free: 85.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8279, allocations: 8.625 kB / 0.5392 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8279, allocations: 3.75 kB / 0.5392 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.828, allocations: 3.906 kB / 0.5392 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.8281, allocations: 53.44 kB / 0.5393 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.8282, allocations: 3.625 kB / 0.5393 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8283, allocations: 19.34 kB / 0.5393 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.8283, allocations: 7.375 kB / 0.5393 GB, free: 85.77 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 7.353e-05/0.8284, allocations: 120.9 kB / 0.5394 GB, free: 85.65 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000161/0.8285, allocations: 118.5 kB / 0.5395 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.8286, allocations: 19.44 kB / 0.5396 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.8288, allocations: 118.1 kB / 0.5397 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8288, allocations: 3.562 kB / 0.5397 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8288, allocations: 0 / 0.5397 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8288, allocations: 3.422 kB / 0.5397 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.8293, allocations: 476.4 kB / 0.5401 GB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8293, allocations: 3.969 kB / 0.5401 GB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.8294, allocations: 22.38 kB / 0.5402 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.8294, allocations: 7.359 kB / 0.5402 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8294, allocations: 0 / 0.5402 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.8295, allocations: 2.75 kB / 0.5402 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8295, allocations: 11.73 kB / 0.5402 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.8297, allocations: 304.5 kB / 0.5405 GB, free: 84.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.8298, allocations: 95.95 kB / 0.5406 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.8298, allocations: 0 / 0.5406 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.8299, allocations: 11.39 kB / 0.5406 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.8299, allocations: 7.203 kB / 0.5406 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.8299, allocations: 3.812 kB / 0.5406 GB, free: 84.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.77e-05/0.83, allocations: 130.7 kB / 0.5407 GB, free: 84.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.83, allocations: 0 / 0.5407 GB, free: 84.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.8304, allocations: 61.61 kB / 0.5408 GB, free: 84.62 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.0004583/0.8309, allocations: 1.186 MB / 0.5419 GB, free: 83.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.831, allocations: 108.8 kB / 0.542 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8311, allocations: 0 / 0.542 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.8311, allocations: 44.2 kB / 0.5421 GB, free: 83.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.8314, allocations: 29.83 kB / 0.5421 GB, free: 83.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.8321, allocations: 348.9 kB / 0.5424 GB, free: 83.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.8323, allocations: 0.757 MB / 0.5432 GB, free: 82.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.8325, allocations: 43.17 kB / 0.5432 GB, free: 82.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.8325, allocations: 62.66 kB / 0.5433 GB, free: 82.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8325, allocations: 0 / 0.5433 GB, free: 82.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.8543, allocations: 2.633 MB / 0.5458 GB, free: 81.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.8546, allocations: 137 kB / 0.546 GB, free: 81.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.53, allocations: 0 / 0.546 GB, free: 81.5 MB / 378.7 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/linux/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)