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: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007845/0.0007843, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0009039/0.0009039, allocations: 182 kB / 17.56 MB, free: 6.203 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.469/1.469, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1759/0.1759, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0005842/0.0005843, allocations: 12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2708, allocations: 56.34 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003469/0.2743, allocations: 3.311 MB / 436.8 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2761, allocations: 1.603 MB / 438.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2763, allocations: 7.938 kB / 438.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.2765, allocations: 31.77 kB / 438.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.2772, allocations: 263.1 kB / 438.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.2775, allocations: 119.7 kB / 438.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.278, allocations: 0.565 MB / 439.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.2786, allocations: 322.8 kB / 439.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2788, allocations: 119.4 kB / 439.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.279, allocations: 151.5 kB / 440 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.279, allocations: 8 kB / 440 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.2796, allocations: 423 kB / 440.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.2797, allocations: 95.75 kB / 440.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.2798, allocations: 121.2 kB / 440.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.2802, allocations: 374.7 kB / 441 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2802, allocations: 0 / 441 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2802, allocations: 0 / 441 MB, free: 11.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2802, allocations: 0 / 441 MB, free: 11.15 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.0005346/0.2808, allocations: 482.8 kB / 441.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2808, allocations: 8.031 kB / 441.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.2817, allocations: 108.5 kB / 441.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.282, allocations: 260.3 kB / 441.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.282, allocations: 20.36 kB / 441.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.2821, allocations: 23.92 kB / 441.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.2825, allocations: 318.3 kB / 442.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2825, allocations: 4 kB / 442.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.2825, allocations: 11.98 kB / 442.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.2826, allocations: 23.92 kB / 442.2 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.283, allocations: 299.8 kB / 442.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2843, allocations: 1.297 MB / 443.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.2845, allocations: 198.3 kB / 444 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.2846, allocations: 49.89 kB / 444 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.2847, allocations: 4 kB / 444 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2847, allocations: 30.56 kB / 444.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/0.2847, allocations: 0 / 444.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003079/0.285, allocations: 137.4 kB / 444.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2851, allocations: 85.05 kB / 444.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2852, allocations: 211.7 kB / 444.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2853, allocations: 33.83 kB / 444.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.2853, allocations: 167.6 kB / 444.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2854, allocations: 31.47 kB / 444.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.2854, allocations: 25.7 kB / 444.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.2855, allocations: 326.8 kB / 445.1 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.2856, allocations: 39.97 kB / 445.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.2857, allocations: 136.7 kB / 445.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.2858, allocations: 204.8 kB / 445.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2858, allocations: 4 kB / 445.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002465/0.2861, allocations: 201.5 kB / 445.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2861, allocations: 8 kB / 445.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2861, allocations: 7.938 kB / 445.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2862, allocations: 4 kB / 445.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2863, allocations: 47.91 kB / 445.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2863, allocations: 7.938 kB / 445.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2864, allocations: 23.78 kB / 445.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.2865, allocations: 8 kB / 445.7 MB, free: 5.957 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 0.000103/0.2866, allocations: 157.9 kB / 445.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.2866, allocations: 19.75 kB / 445.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.2868, allocations: 119 kB / 446 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.2868, allocations: 0 / 446 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2868, allocations: 0 / 446 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2868, allocations: 3.938 kB / 446 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.2874, allocations: 0.5719 MB / 446.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2874, allocations: 4 kB / 446.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.2875, allocations: 27.92 kB / 446.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2875, allocations: 7.938 kB / 446.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2875, allocations: 4.312 kB / 446.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2875, allocations: 4 kB / 446.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2875, allocations: 7.938 kB / 446.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2877, allocations: 275.9 kB / 446.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2878, allocations: 105 kB / 447 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2878, allocations: 7.938 kB / 447 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2879, allocations: 11.94 kB / 447.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.2879, allocations: 11.98 kB / 447.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.2879, allocations: 4 kB / 447.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.288, allocations: 149.5 kB / 447.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2881, allocations: 0 / 447.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.2884, allocations: 51.84 kB / 447.3 MB, free: 4.27 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 8.954e-05/0.2885, allocations: 111.2 kB / 447.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2887, allocations: 111.8 kB / 447.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2887, allocations: 0 / 447.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/0.2887, allocations: 49.11 kB / 447.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.2892, allocations: 44.53 kB / 447.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.2899, allocations: 0.5265 MB / 448.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2901, allocations: 0.7518 MB / 448.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.2902, allocations: 41.5 kB / 448.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.2903, allocations: 19.44 kB / 448.9 MB, free: 2.539 MB / 318.1 MB Notification: Performance of SimCode: time 1.713e-06/0.2903, allocations: 0 / 448.9 MB, free: 2.539 MB / 318.1 MB Notification: Performance of Templates: time 0.003369/0.2936, allocations: 1.129 MB / 450 MB, free: 1.414 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile Environment - environmentSimulation: (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 & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) Environment - environmentSimulation: