Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001087, allocations: 112.9 kB / 17.09 MB, free: 5.777 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.001051/0.001051, allocations: 195 kB / 18.02 MB, free: 4.953 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05334/0.05334, allocations: 8.103 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 63.89 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2289, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00272/0.2317, allocations: 1.672 MB / 416.4 MB, free: 23.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2337, allocations: 1.567 MB / 417.9 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.2338, allocations: 8 kB / 418 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.2341, allocations: 131.2 kB / 418.1 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.2344, allocations: 127.1 kB / 418.2 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.2356, allocations: 0.9133 MB / 419.1 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2359, allocations: 270.6 kB / 419.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.236, allocations: 88.59 kB / 419.5 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.2361, allocations: 107.6 kB / 419.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2363, allocations: 143.4 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.2364, allocations: 20 kB / 419.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.2367, allocations: 211.8 kB / 419.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.2367, allocations: 47.83 kB / 420 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2368, allocations: 131.3 kB / 420.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.2372, allocations: 412.5 kB / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2372, allocations: 4 kB / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2373, allocations: 3.938 kB / 420.5 MB, free: 19.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.2373, allocations: 0 / 420.5 MB, free: 19.6 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002213/0.2395, allocations: 0.8461 MB / 421.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2395, allocations: 15.89 kB / 421.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.2396, allocations: 28.66 kB / 421.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2399, allocations: 268.7 kB / 421.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2399, allocations: 12.81 kB / 421.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.2399, allocations: 20.38 kB / 421.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.2403, allocations: 291.8 kB / 422 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2403, allocations: 192 / 422 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.2403, allocations: 15.92 kB / 422 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2404, allocations: 4 kB / 422 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.2407, allocations: 289.6 kB / 422.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2419, allocations: 1.024 MB / 423.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.2427, allocations: 469.3 kB / 423.8 MB, free: 16.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.2429, allocations: 172.8 kB / 423.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.243, allocations: 7.984 kB / 424 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.243, allocations: 42.5 kB / 424 MB, free: 15.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.243, allocations: 4 kB / 424 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002581/0.2456, allocations: 0.9599 MB / 425 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2456, allocations: 55.41 kB / 425 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2458, allocations: 212.8 kB / 425.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2458, allocations: 37.7 kB / 425.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.2459, allocations: 140.5 kB / 425.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.246, allocations: 94.66 kB / 425.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2461, allocations: 81.53 kB / 425.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.2462, allocations: 334.8 kB / 425.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2464, allocations: 171.9 kB / 426.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.2466, allocations: 179.9 kB / 426.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.247, allocations: 385.5 kB / 426.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.247, allocations: 0 / 426.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001154/0.2482, allocations: 0.6618 MB / 427.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2482, allocations: 11.88 kB / 427.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2482, allocations: 0 / 427.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/0.2492, allocations: 248.6 kB / 427.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2494, allocations: 55.91 kB / 427.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.2523, allocations: 2.699 MB / 430.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.2526, allocations: 31.59 kB / 430.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2526, allocations: 16.05 kB / 430.3 MB, free: 9.344 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 (32): * Single equations (assignments): 31 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.2527, allocations: 149.7 kB / 430.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.2528, allocations: 15.81 kB / 430.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.254, allocations: 0.5985 MB / 431.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.254, allocations: 8 kB / 431.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.254, allocations: 0 / 431.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.254, allocations: 3.984 kB / 431.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2555, allocations: 1.057 MB / 432.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2555, allocations: 4 kB / 432.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.2556, allocations: 27.98 kB / 432.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/0.2564, allocations: 240.6 kB / 432.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2565, allocations: 8 kB / 432.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.2591, allocations: 2.672 MB / 435.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2592, allocations: 0 / 435.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2603, allocations: 0.6536 MB / 435.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.2603, allocations: 108.7 kB / 435.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.2604, allocations: 4 kB / 435.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2606, allocations: 15.98 kB / 435.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.2607, allocations: 24.06 kB / 435.9 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2607, allocations: 15.98 kB / 435.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2608, allocations: 163 kB / 436.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2608, allocations: 0 / 436.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.2613, allocations: 111.9 kB / 436.2 MB, free: 3.219 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 (20): * Single equations (assignments): 19 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.2615, allocations: 119.2 kB / 436.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2626, allocations: 0.6155 MB / 436.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2627, allocations: 0 / 436.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.2633, allocations: 398.4 kB / 437.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2637, allocations: 27.92 kB / 437.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.2644, allocations: 0.5258 MB / 437.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.2646, allocations: 0.7485 MB / 438.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.431e-05/0.2647, allocations: 29.92 kB / 438.6 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.2648, allocations: 23.42 kB / 438.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2648, allocations: 0 / 438.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of Templates: time 0.009718/0.2745, allocations: 6.399 MB / 445.1 MB, free: 10.3 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)