Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009865, allocations: 89.77 kB / 16.31 MB, free: 5.676 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.0009977/0.0009976, allocations: 181.2 kB / 17.21 MB, free: 5.594 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.338/1.338, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1747/0.1747, allocations: 38.04 MB / 309.7 MB, free: 6.113 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.0005016/0.0005017, allocations: 16 kB / 376.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 56.33 MB / 432.8 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.003952/0.2406, allocations: 4.256 MB / 437.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2423, allocations: 1.124 MB / 438.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.2427, allocations: 23.81 kB / 438.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.243, allocations: 55.53 kB / 438.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.2437, allocations: 230.7 kB / 438.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.244, allocations: 119.8 kB / 438.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.2445, allocations: 0.5138 MB / 439.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.2447, allocations: 110.2 kB / 439.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.2451, allocations: 175.1 kB / 439.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.2455, allocations: 231.2 kB / 439.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.2455, allocations: 12 kB / 439.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.2456, allocations: 16 kB / 439.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2457, allocations: 111.7 kB / 439.8 MB, free: 12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.2458, allocations: 89.52 kB / 439.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.246, allocations: 267.3 kB / 440.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2461, allocations: 0 / 440.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2461, allocations: 0 / 440.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2461, allocations: 0 / 440.1 MB, free: 11.65 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001162/0.2473, allocations: 0.6477 MB / 440.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2473, allocations: 12.02 kB / 440.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2474, allocations: 39.48 kB / 440.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.2481, allocations: 362.7 kB / 441.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2482, allocations: 28.5 kB / 441.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.2482, allocations: 31.94 kB / 441.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.2487, allocations: 360.7 kB / 441.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2487, allocations: 0 / 441.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2487, allocations: 12 kB / 441.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2487, allocations: 11.95 kB / 441.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.2491, allocations: 261.9 kB / 441.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2504, allocations: 1.45 MB / 443.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2506, allocations: 153.1 kB / 443.5 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.2507, allocations: 77.67 kB / 443.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2508, allocations: 4 kB / 443.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2508, allocations: 42.5 kB / 443.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2508, allocations: 0 / 443.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009573/0.2518, allocations: 0.6706 MB / 444.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2518, allocations: 85.05 kB / 444.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.252, allocations: 292.5 kB / 444.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2521, allocations: 33.7 kB / 444.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.2522, allocations: 215.5 kB / 444.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.2522, allocations: 55.2 kB / 444.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.2522, allocations: 4 kB / 444.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.2523, allocations: 342.8 kB / 445.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.2524, allocations: 67.94 kB / 445.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2525, allocations: 160.8 kB / 445.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2526, allocations: 99.98 kB / 445.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2526, allocations: 0 / 445.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003312/0.253, allocations: 280.8 kB / 445.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.253, allocations: 11.95 kB / 445.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.253, allocations: 4.438 kB / 445.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.253, allocations: 8 kB / 445.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.2533, allocations: 55.91 kB / 446 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2533, allocations: 11.92 kB / 446 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2534, allocations: 12 kB / 446 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2535, allocations: 15.98 kB / 446 MB, free: 5.387 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 (29): * Single equations (assignments): 29 * 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.000121/0.2536, allocations: 165.8 kB / 446.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2536, allocations: 23.72 kB / 446.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.254, allocations: 243.9 kB / 446.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.254, allocations: 4 kB / 446.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.254, allocations: 3.953 kB / 446.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.254, allocations: 3.984 kB / 446.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.2546, allocations: 0.6201 MB / 447 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2546, allocations: 3.938 kB / 447.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.2548, allocations: 39.92 kB / 447.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2548, allocations: 7.953 kB / 447.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2548, allocations: 3.938 kB / 447.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2549, allocations: 8.031 kB / 447.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2549, allocations: 0 / 447.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.2553, allocations: 421 kB / 447.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.2553, allocations: 100.8 kB / 447.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.2554, allocations: 11.94 kB / 447.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2555, allocations: 20 kB / 447.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.2555, allocations: 11.98 kB / 447.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.2556, allocations: 8 kB / 447.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.2557, allocations: 207.1 kB / 447.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2557, allocations: 0 / 447.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.2561, allocations: 60 kB / 447.9 MB, free: 3.332 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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 8.151e-05/0.2561, allocations: 99.23 kB / 448 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.2564, allocations: 191.6 kB / 448.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2564, allocations: 0 / 448.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2565, allocations: 90.95 kB / 448.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.257, allocations: 61.61 kB / 448.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.2579, allocations: 0.7979 MB / 449.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2581, allocations: 0.8028 MB / 450 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.2583, allocations: 54.94 kB / 450 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.2583, allocations: 27.42 kB / 450 MB, free: 1.152 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2583, allocations: 7.938 kB / 450.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of Templates: time 0.005731/0.2641, allocations: 2.727 MB / 452.8 MB, free: 14.43 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) Environment - environmentSimulation: