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.001506/0.001506, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001718/0.001718, allocations: 192 kB / 18.62 MB, free: 4.543 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.45/1.45, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1863/0.1863, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.002799/0.002799, allocations: 63.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2839, allocations: 55.24 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004981/0.2889, allocations: 3.44 MB / 435.5 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.291, allocations: 1.571 MB / 437 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.2913, allocations: 4 kB / 437 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008162/0.2921, allocations: 258.9 kB / 437.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006728/0.2928, allocations: 279 kB / 437.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2931, allocations: 135.6 kB / 437.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2935, allocations: 327.1 kB / 438 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.2938, allocations: 141.7 kB / 438.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.2941, allocations: 151.4 kB / 438.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2943, allocations: 147.4 kB / 438.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.2943, allocations: 12 kB / 438.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.2948, allocations: 339.1 kB / 438.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.2949, allocations: 99.75 kB / 438.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.295, allocations: 99.53 kB / 439 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.2955, allocations: 358.9 kB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2955, allocations: 4 kB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2956, allocations: 0 / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2956, allocations: 0 / 439.3 MB, free: 12.14 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.0005467/0.2961, allocations: 0.5026 MB / 439.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.2962, allocations: 15.89 kB / 439.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.2971, allocations: 100.5 kB / 439.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.2974, allocations: 280.3 kB / 440.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2974, allocations: 12.38 kB / 440.2 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.2974, allocations: 24.11 kB / 440.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.2978, allocations: 318.3 kB / 440.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.2979, allocations: 11.94 kB / 440.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2979, allocations: 4 kB / 440.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.298, allocations: 15.98 kB / 440.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.2984, allocations: 299.8 kB / 440.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2997, allocations: 1.273 MB / 442.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3, allocations: 210.2 kB / 442.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.3, allocations: 49.69 kB / 442.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3001, allocations: 4.188 kB / 442.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.3001, allocations: 34.5 kB / 442.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3001, allocations: 0 / 442.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002553/0.3004, allocations: 141.5 kB / 442.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3004, allocations: 85.14 kB / 442.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3005, allocations: 211.6 kB / 442.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3006, allocations: 29.7 kB / 442.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.3006, allocations: 171.6 kB / 443.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3006, allocations: 27.56 kB / 443.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.3007, allocations: 45.61 kB / 443.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.3008, allocations: 334.8 kB / 443.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.3008, allocations: 47.92 kB / 443.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.3009, allocations: 132.7 kB / 443.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3011, allocations: 188.7 kB / 443.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3011, allocations: 3.938 kB / 443.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002399/0.3013, allocations: 209.5 kB / 444 MB, free: 7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3013, allocations: 8 kB / 444.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3013, allocations: 4 kB / 444.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3014, allocations: 7.984 kB / 444.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3015, allocations: 44.02 kB / 444.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3015, allocations: 8.375 kB / 444.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3016, allocations: 35.75 kB / 444.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3017, allocations: 12 kB / 444.2 MB, free: 6.883 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.358e-05/0.3018, allocations: 153.7 kB / 444.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.3018, allocations: 15.81 kB / 444.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.302, allocations: 123 kB / 444.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.302, allocations: 0 / 444.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.302, allocations: 4 kB / 444.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.302, allocations: 0 / 444.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.3026, allocations: 0.5722 MB / 445 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3026, allocations: 4.062 kB / 445 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.3026, allocations: 23.92 kB / 445.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3027, allocations: 4 kB / 445.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3027, allocations: 11.94 kB / 445.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3027, allocations: 4 kB / 445.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3027, allocations: 7.984 kB / 445.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3029, allocations: 271.8 kB / 445.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.3029, allocations: 104.9 kB / 445.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.303, allocations: 7.938 kB / 445.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3031, allocations: 4 kB / 445.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3031, allocations: 19.92 kB / 445.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.3031, allocations: 4 kB / 445.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.914e-05/0.3032, allocations: 153.5 kB / 445.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3032, allocations: 0 / 445.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.3035, allocations: 55.84 kB / 445.7 MB, free: 5.195 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 7.624e-05/0.3036, allocations: 99.19 kB / 445.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3038, allocations: 119.7 kB / 445.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3038, allocations: 0.875 kB / 445.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/0.3039, allocations: 51.91 kB / 446 MB, free: 4.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3044, allocations: 33.97 kB / 446 MB, free: 4.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.3049, allocations: 456 kB / 446.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3051, allocations: 0.7592 MB / 447.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.975e-05/0.3052, allocations: 37.52 kB / 447.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.3053, allocations: 19.38 kB / 447.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3053, allocations: 0 / 447.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of Templates: time 0.003547/0.3088, allocations: 1.207 MB / 448.5 MB, free: 2.352 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)