Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009722/0.0009724, allocations: 166.6 kB / 16.07 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007308/0.0007308, allocations: 78.38 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1671/0.1671, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 56.32 MB / 479.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003389/0.2283, allocations: 3.234 MB / 482.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2302, allocations: 1.512 MB / 484.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2304, allocations: 11.66 kB / 484.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.2306, allocations: 41.73 kB / 484.4 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007348/0.2314, allocations: 268.3 kB / 484.7 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.2317, allocations: 118.2 kB / 484.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.2323, allocations: 448.5 kB / 485.2 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.2329, allocations: 325.3 kB / 485.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.2332, allocations: 119.8 kB / 485.7 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.2335, allocations: 160.5 kB / 485.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2335, allocations: 7.344 kB / 485.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.2342, allocations: 376 kB / 486.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2343, allocations: 91.72 kB / 486.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2345, allocations: 120.2 kB / 486.4 MB, free: 5.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.235, allocations: 260.7 kB / 486.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.235, allocations: 6 kB / 486.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.235, allocations: 0 / 486.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.235, allocations: 0 / 486.7 MB, free: 5.152 MB / 314.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.0006308/0.2356, allocations: 491.5 kB / 487.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2357, allocations: 10.19 kB / 487.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.2366, allocations: 110.9 kB / 487.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2369, allocations: 258.6 kB / 487.5 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.237, allocations: 12.09 kB / 487.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.237, allocations: 24.75 kB / 487.6 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.2375, allocations: 329.5 kB / 487.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2375, allocations: 2.078 kB / 487.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.2376, allocations: 6.75 kB / 487.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.2376, allocations: 14.95 kB / 487.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.2381, allocations: 312.8 kB / 488.2 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2396, allocations: 1.265 MB / 489.5 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.2398, allocations: 172.9 kB / 489.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.24, allocations: 106.4 kB / 489.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.24, allocations: 2.172 kB / 489.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2401, allocations: 40.67 kB / 489.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.2401, allocations: 1.375 kB / 489.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001448/0.2415, allocations: 0.6658 MB / 490.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2416, allocations: 83.67 kB / 490.5 MB, free: 2.578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2417, allocations: 190.7 kB / 490.7 MB, free: 2.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2417, allocations: 30.98 kB / 490.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.2418, allocations: 155.9 kB / 490.9 MB, free: 2.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2419, allocations: 64.78 kB / 491 MB, free: 2.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.2419, allocations: 5.594 kB / 491 MB, free: 2.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2419, allocations: 324.8 kB / 491.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2421, allocations: 85.05 kB / 491.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.2422, allocations: 153 kB / 491.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.2425, allocations: 251.2 kB / 491.8 MB, free: 1.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2425, allocations: 1.125 kB / 491.8 MB, free: 1.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000591/0.2431, allocations: 353.1 kB / 492.1 MB, free: 1.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2431, allocations: 6.203 kB / 492.1 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2432, allocations: 2.594 kB / 492.1 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.2435, allocations: 97.2 kB / 492.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2437, allocations: 39.11 kB / 492.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.2457, allocations: 1.941 MB / 494.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2458, allocations: 8.906 kB / 494.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2459, allocations: 11.89 kB / 494.2 MB, free: 15.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.246, allocations: 160.8 kB / 494.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.2461, allocations: 20.44 kB / 494.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.2467, allocations: 320.8 kB / 494.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2468, allocations: 4.406 kB / 494.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2468, allocations: 3.938 kB / 494.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2468, allocations: 1.312 kB / 494.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.248, allocations: 0.7452 MB / 495.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.248, allocations: 1.469 kB / 495.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.2481, allocations: 23.31 kB / 495.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.2484, allocations: 76.53 kB / 495.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2485, allocations: 11.02 kB / 495.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.2503, allocations: 1.822 MB / 497.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2503, allocations: 5.578 kB / 497.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.251, allocations: 412.9 kB / 497.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.251, allocations: 92.89 kB / 497.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.2511, allocations: 6.625 kB / 497.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2512, allocations: 9.594 kB / 497.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2513, allocations: 16.89 kB / 497.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.2513, allocations: 10.23 kB / 497.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2514, allocations: 147.1 kB / 498.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2514, allocations: 0 / 498.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.2519, allocations: 63.69 kB / 498.1 MB, free: 12.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001013/0.252, allocations: 102.4 kB / 498.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006895/0.2527, allocations: 376.6 kB / 498.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2527, allocations: 0 / 498.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.2531, allocations: 257.1 kB / 498.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2535, allocations: 31.72 kB / 498.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.2544, allocations: 0.6168 MB / 499.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2548, allocations: 0.7677 MB / 0.4886 GB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.2549, allocations: 24.97 kB / 0.4886 GB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2549, allocations: 0 / 0.4886 GB, free: 11.39 MB / 330.7 MB Notification: Performance of Templates: time 0.006174/0.2611, allocations: 3.483 MB / 0.492 GB, free: 10.01 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)