Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_latest_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.000926/0.000926, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.0008928/0.0008929, allocations: 185.7 kB / 17.2 MB, free: 5.91 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.225/1.225, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2625/0.2625, allocations: 38.07 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 8 kB / 400.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2661, allocations: 59.15 MB / 459.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003269/0.2694, allocations: 3.098 MB / 462.3 MB, free: 28.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2711, allocations: 1.433 MB / 463.7 MB, free: 27.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2712, allocations: 10.41 kB / 463.8 MB, free: 27.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2714, allocations: 40.83 kB / 463.8 MB, free: 27.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.2719, allocations: 173.2 kB / 464 MB, free: 26.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2721, allocations: 98.91 kB / 464.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.2723, allocations: 153.7 kB / 464.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.2729, allocations: 315.5 kB / 464.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2731, allocations: 97.36 kB / 464.6 MB, free: 26.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.2733, allocations: 75.97 kB / 464.7 MB, free: 26.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.2733, allocations: 11.31 kB / 464.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.2736, allocations: 164.3 kB / 464.9 MB, free: 26.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2738, allocations: 86.84 kB / 464.9 MB, free: 26.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.2738, allocations: 64.64 kB / 465 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.2742, allocations: 251.5 kB / 465.2 MB, free: 26.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2742, allocations: 0 / 465.2 MB, free: 26.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2742, allocations: 1.188 kB / 465.3 MB, free: 26.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2742, allocations: 0 / 465.3 MB, free: 26.35 MB / 350.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.000554/0.2748, allocations: 481.2 kB / 465.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2748, allocations: 8.688 kB / 465.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.2749, allocations: 50.5 kB / 465.8 MB, free: 25.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009388/0.2758, allocations: 119.5 kB / 465.9 MB, free: 25.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.2761, allocations: 266.7 kB / 466.2 MB, free: 25.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2762, allocations: 18.41 kB / 466.2 MB, free: 25.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.2762, allocations: 20.7 kB / 466.2 MB, free: 25.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.2767, allocations: 315.3 kB / 466.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2767, allocations: 3.938 kB / 466.5 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2768, allocations: 10.75 kB / 466.5 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.2768, allocations: 17.73 kB / 466.5 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.2773, allocations: 300.5 kB / 466.8 MB, free: 25.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.2787, allocations: 1.291 MB / 468.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.279, allocations: 194.9 kB / 468.3 MB, free: 24.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.279, allocations: 5.125 kB / 468.3 MB, free: 24.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2791, allocations: 44.31 kB / 468.4 MB, free: 24.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2791, allocations: 1.172 kB / 468.4 MB, free: 24.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002873/0.2794, allocations: 141.6 kB / 468.5 MB, free: 24.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2794, allocations: 79.33 kB / 468.6 MB, free: 23.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2796, allocations: 216.3 kB / 468.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2796, allocations: 31.14 kB / 468.8 MB, free: 23.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.2797, allocations: 167 kB / 469 MB, free: 23.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2797, allocations: 35.72 kB / 469 MB, free: 23.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.2798, allocations: 4.125 kB / 469 MB, free: 23.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.2798, allocations: 329.2 kB / 469.3 MB, free: 23.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.2799, allocations: 38.02 kB / 469.4 MB, free: 23.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.28, allocations: 140 kB / 469.5 MB, free: 23.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.298e-05/0.2801, allocations: 64.02 kB / 469.6 MB, free: 23.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2801, allocations: 1.25 kB / 469.6 MB, free: 23.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002864/0.2804, allocations: 199.5 kB / 469.8 MB, free: 22.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2804, allocations: 16.7 kB / 469.8 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2805, allocations: 4.062 kB / 469.8 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2805, allocations: 6.125 kB / 469.8 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2807, allocations: 45.25 kB / 469.8 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.2807, allocations: 10.44 kB / 469.9 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2808, allocations: 24.38 kB / 469.9 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2808, allocations: 8.469 kB / 469.9 MB, free: 22.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2809, allocations: 155.3 kB / 470 MB, free: 22.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.281, allocations: 16.56 kB / 470.1 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.2812, allocations: 131.5 kB / 470.2 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2812, allocations: 1.219 kB / 470.2 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2812, allocations: 1.25 kB / 470.2 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2812, allocations: 1.406 kB / 470.2 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.2819, allocations: 0.5654 MB / 470.7 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2819, allocations: 2.406 kB / 470.8 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.282, allocations: 21.3 kB / 470.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.282, allocations: 5.078 kB / 470.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.282, allocations: 3.281 kB / 470.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.282, allocations: 4.266 kB / 470.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.282, allocations: 11.72 kB / 470.8 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2823, allocations: 403.3 kB / 471.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.2823, allocations: 103.1 kB / 471.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2824, allocations: 9.047 kB / 471.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2825, allocations: 3.875 kB / 471.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.2825, allocations: 12.33 kB / 471.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2825, allocations: 9.469 kB / 471.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2826, allocations: 153.8 kB / 471.5 MB, free: 21.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2826, allocations: 0.9062 kB / 471.5 MB, free: 21.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000344/0.283, allocations: 53.16 kB / 471.5 MB, free: 21.59 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 (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.0004562/0.2835, allocations: 1.615 MB / 473.1 MB, free: 19.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2837, allocations: 116.1 kB / 473.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2837, allocations: 0 / 473.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.2837, allocations: 47.8 kB / 473.3 MB, free: 19.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.284, allocations: 34.84 kB / 473.3 MB, free: 19.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.2858, allocations: 3.288 MB / 476.6 MB, free: 16.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2861, allocations: 0.7579 MB / 477.4 MB, free: 16.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.2862, allocations: 41.61 kB / 477.4 MB, free: 16.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.2863, allocations: 58.95 kB / 477.5 MB, free: 16.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2863, allocations: 0 / 477.5 MB, free: 16.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.3002, allocations: 3.003 MB / 480.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.3005, allocations: 176.8 kB / 480.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.938, allocations: 2.125 kB / 480.7 MB, free: 15.29 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat does not exist to compare? outputFormat=mat