Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 98.22 kB / 16.02 MB, free: 6.32 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.002136/0.002136, allocations: 191.2 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05599/0.05599, allocations: 8.106 MB / 298.9 MB, free: 6.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 361.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2579, allocations: 51.53 MB / 412.7 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.00219/0.2601, allocations: 1.301 MB / 414 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2615, allocations: 1.473 MB / 415.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.2616, allocations: 4 kB / 415.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.2619, allocations: 91.66 kB / 415.6 MB, free: 22.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2622, allocations: 99.5 kB / 415.7 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2634, allocations: 0.9495 MB / 416.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2636, allocations: 163.2 kB / 416.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2638, allocations: 49.53 kB / 416.9 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.2639, allocations: 67.78 kB / 416.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.264, allocations: 83.61 kB / 417 MB, free: 21.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.264, allocations: 12 kB / 417 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.2643, allocations: 231.8 kB / 417.2 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.2644, allocations: 31.8 kB / 417.3 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.2644, allocations: 79.66 kB / 417.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.2648, allocations: 333.1 kB / 417.7 MB, free: 20.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2648, allocations: 3.938 kB / 417.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2648, allocations: 0 / 417.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2648, allocations: 0 / 417.7 MB, free: 20.81 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001988/0.2668, allocations: 0.7253 MB / 418.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2669, allocations: 8.031 kB / 418.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.2669, allocations: 20.75 kB / 418.4 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.2672, allocations: 221.8 kB / 418.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2672, allocations: 12.61 kB / 418.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.2672, allocations: 12.38 kB / 418.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2675, allocations: 201.9 kB / 418.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2676, allocations: 4.188 kB / 418.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2676, allocations: 11.94 kB / 418.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2676, allocations: 4 kB / 418.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.2678, allocations: 152.6 kB / 419 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.2688, allocations: 0.7339 MB / 419.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.2692, allocations: 203.3 kB / 420 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2693, allocations: 92.84 kB / 420.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.2694, allocations: 7.984 kB / 420.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2694, allocations: 46.5 kB / 420.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.2694, allocations: 0 / 420.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00181/0.2712, allocations: 0.5803 MB / 420.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2713, allocations: 85.03 kB / 420.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2714, allocations: 176.2 kB / 421 MB, free: 17.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2715, allocations: 29.7 kB / 421 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.2715, allocations: 112.4 kB / 421.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2716, allocations: 63.12 kB / 421.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.2716, allocations: 41.7 kB / 421.2 MB, free: 17.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.2717, allocations: 334.8 kB / 421.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2719, allocations: 104 kB / 421.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.272, allocations: 126.3 kB / 421.7 MB, free: 16.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.2723, allocations: 234 kB / 422 MB, free: 16.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2723, allocations: 4 kB / 422 MB, free: 16.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009569/0.2732, allocations: 426 kB / 422.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2733, allocations: 4 kB / 422.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2733, allocations: 4 kB / 422.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.2743, allocations: 192.6 kB / 422.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2745, allocations: 47.97 kB / 422.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.2769, allocations: 1.967 MB / 424.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.2771, allocations: 27.81 kB / 424.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.2771, allocations: 4 kB / 424.6 MB, free: 13.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2772, allocations: 129.8 kB / 424.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.2773, allocations: 19.81 kB / 424.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.2782, allocations: 384 kB / 425.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2782, allocations: 7.984 kB / 425.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.2782, allocations: 7.938 kB / 425.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2783, allocations: 4.078 kB / 425.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2785, allocations: 297.4 kB / 425.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2785, allocations: 0 / 425.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2786, allocations: 27.92 kB / 425.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008963/0.2795, allocations: 200.6 kB / 425.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.2795, allocations: 0 / 425.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.2814, allocations: 1.957 MB / 427.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2814, allocations: 4 kB / 427.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.2823, allocations: 446.1 kB / 428.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.2823, allocations: 96.91 kB / 428.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.2824, allocations: 7.938 kB / 428.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2826, allocations: 12 kB / 428.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.2826, allocations: 15.97 kB / 428.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.2826, allocations: 12 kB / 428.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2827, allocations: 132.2 kB / 428.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.2827, allocations: 0 / 428.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.2831, allocations: 71.78 kB / 428.4 MB, free: 9.379 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.2833, allocations: 119.4 kB / 428.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.2842, allocations: 434.3 kB / 429 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.2842, allocations: 4 kB / 429 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.2847, allocations: 274.6 kB / 429.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2851, allocations: 19.94 kB / 429.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.2857, allocations: 423.2 kB / 429.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.2859, allocations: 0.7203 MB / 430.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.939e-05/0.286, allocations: 21.41 kB / 430.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.286, allocations: 19.44 kB / 430.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.286, allocations: 0 / 430.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of Templates: time 0.006731/0.2927, allocations: 4.194 MB / 434.6 MB, free: 3.105 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)