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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.001003/0.001003, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.00104/0.00104, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1717/0.1717, allocations: 37.98 MB / 308.6 MB, free: 6.242 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 75.03 kB / 374.7 MB, free: 4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 55.23 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004601/0.2983, allocations: 3.692 MB / 433.6 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3001, allocations: 1.626 MB / 435.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.3003, allocations: 15.88 kB / 435.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.301, allocations: 235.2 kB / 435.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.3015, allocations: 259.2 kB / 435.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3017, allocations: 115.7 kB / 435.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.3021, allocations: 0.569 MB / 436.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.3024, allocations: 146 kB / 436.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3026, allocations: 119.4 kB / 436.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.3028, allocations: 163.5 kB / 436.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3029, allocations: 12 kB / 436.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.3033, allocations: 419 kB / 437.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.3034, allocations: 91.75 kB / 437.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.3035, allocations: 107.4 kB / 437.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.3039, allocations: 374.9 kB / 437.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3039, allocations: 0 / 437.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3039, allocations: 0 / 437.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.304, allocations: 0 / 437.9 MB, free: 11.83 MB / 318.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.0006133/0.3046, allocations: 0.5103 MB / 438.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3046, allocations: 8.031 kB / 438.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.3047, allocations: 62.72 kB / 438.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009496/0.3056, allocations: 104.5 kB / 438.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3059, allocations: 260.4 kB / 438.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3059, allocations: 20.12 kB / 438.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3059, allocations: 19.98 kB / 438.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.3063, allocations: 318.3 kB / 439.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3064, allocations: 3.938 kB / 439.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.3064, allocations: 11.94 kB / 439.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.3064, allocations: 15.98 kB / 439.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.3068, allocations: 303.7 kB / 439.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3081, allocations: 1.293 MB / 440.8 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3083, allocations: 206.3 kB / 441 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.3084, allocations: 41.81 kB / 441 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3084, allocations: 4.172 kB / 441 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3085, allocations: 42.48 kB / 441.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3085, allocations: 0 / 441.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002523/0.3087, allocations: 133.4 kB / 441.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3088, allocations: 85.23 kB / 441.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3089, allocations: 207.7 kB / 441.5 MB, free: 7.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3089, allocations: 33.7 kB / 441.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.309, allocations: 167.6 kB / 441.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.309, allocations: 35.45 kB / 441.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.3091, allocations: 41.7 kB / 441.7 MB, free: 7.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.3092, allocations: 334.7 kB / 442.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.3092, allocations: 35.98 kB / 442.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.3093, allocations: 137.9 kB / 442.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3095, allocations: 188.7 kB / 442.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3095, allocations: 0 / 442.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002321/0.3097, allocations: 213.4 kB / 442.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3097, allocations: 8 kB / 442.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3098, allocations: 4 kB / 442.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3098, allocations: 4 kB / 442.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3099, allocations: 47.92 kB / 442.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3099, allocations: 7.984 kB / 442.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.31, allocations: 28.12 kB / 442.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3101, allocations: 12 kB / 442.7 MB, free: 6.52 MB / 318.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 9.815e-05/0.3102, allocations: 157.6 kB / 442.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3102, allocations: 19.8 kB / 442.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3104, allocations: 119 kB / 443 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3104, allocations: 0 / 443 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3104, allocations: 0 / 443 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3104, allocations: 3.938 kB / 443 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.3109, allocations: 0.5759 MB / 443.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3109, allocations: 4.312 kB / 443.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.311, allocations: 23.94 kB / 443.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.311, allocations: 7.938 kB / 443.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3111, allocations: 16.05 kB / 443.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3111, allocations: 0 / 443.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3111, allocations: 4 kB / 443.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.3113, allocations: 275.9 kB / 443.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.3113, allocations: 100.9 kB / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3113, allocations: 8 kB / 444 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3114, allocations: 7.984 kB / 444 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.3115, allocations: 11.94 kB / 444.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.3115, allocations: 4 kB / 444.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.3116, allocations: 153.5 kB / 444.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3116, allocations: 0 / 444.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3119, allocations: 55.78 kB / 444.3 MB, free: 4.828 MB / 318.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.000319/0.3122, allocations: 0.8182 MB / 445.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3124, allocations: 116.3 kB / 445.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3124, allocations: 0 / 445.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.3125, allocations: 47.84 kB / 445.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3129, allocations: 28.5 kB / 445.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3147, allocations: 2.394 MB / 447.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.315, allocations: 0.7596 MB / 448.4 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3151, allocations: 37.52 kB / 448.5 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.3152, allocations: 55.42 kB / 448.5 MB, free: 276 kB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3152, allocations: 0 / 448.5 MB, free: 276 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.3291, allocations: 3.11 MB / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.3293, allocations: 194.7 kB / 451.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.121, allocations: 0 / 451.8 MB, free: 12.92 MB / 334.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)