Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 101.8 kB / 16.56 MB, free: 6.723 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.001311/0.001311, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.29/1.29, allocations: 222.9 MB / 241.2 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04752/0.04752, allocations: 8.104 MB / 299.4 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 361.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2241, allocations: 51.51 MB / 413.2 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002944/0.2271, allocations: 2.273 MB / 415.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.2291, allocations: 1.668 MB / 417.1 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.2294, allocations: 7.938 kB / 417.2 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.2299, allocations: 127.4 kB / 417.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.2304, allocations: 171 kB / 417.4 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2318, allocations: 0.9371 MB / 418.4 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.2322, allocations: 398 kB / 418.8 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.2323, allocations: 111.8 kB / 418.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2325, allocations: 159.3 kB / 419 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.2327, allocations: 219.1 kB / 419.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.2327, allocations: 24 kB / 419.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.233, allocations: 203.8 kB / 419.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.2331, allocations: 83.55 kB / 419.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.2332, allocations: 187 kB / 419.7 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.2335, allocations: 405.1 kB / 420.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2335, allocations: 0 / 420.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2335, allocations: 0 / 420.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2336, allocations: 3.938 kB / 420.1 MB, free: 18.87 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003245/0.2368, allocations: 1.146 MB / 421.3 MB, free: 17.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2369, allocations: 11.97 kB / 421.3 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.237, allocations: 48.45 kB / 421.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.2373, allocations: 323.5 kB / 421.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2373, allocations: 28.94 kB / 421.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.2374, allocations: 28.38 kB / 421.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.2379, allocations: 417.3 kB / 422.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.238, allocations: 192 / 422.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.238, allocations: 15.94 kB / 422.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.238, allocations: 4 kB / 422.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.2385, allocations: 414.1 kB / 422.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2403, allocations: 1.546 MB / 424.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009465/0.2413, allocations: 0.5552 MB / 424.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.2416, allocations: 277.5 kB / 424.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.2416, allocations: 16.36 kB / 424.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.2417, allocations: 42.92 kB / 425 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.764e-06/0.2417, allocations: 0 / 425 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.004091/0.2458, allocations: 1.643 MB / 426.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2458, allocations: 55.41 kB / 426.7 MB, free: 12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.2461, allocations: 286.6 kB / 426.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.2462, allocations: 33.7 kB / 427 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.2462, allocations: 157 kB / 427.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.2463, allocations: 161.6 kB / 427.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.2465, allocations: 94.23 kB / 427.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.2465, allocations: 346.8 kB / 427.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.2469, allocations: 261 kB / 428 MB, free: 10.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.2472, allocations: 273 kB / 428.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.2479, allocations: 0.5858 MB / 428.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2479, allocations: 0 / 428.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002069/0.25, allocations: 1.028 MB / 429.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.25, allocations: 4 kB / 429.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.25, allocations: 0 / 429.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.2517, allocations: 430.1 kB / 430.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.252, allocations: 71.91 kB / 430.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.257, allocations: 5.66 MB / 436 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.2573, allocations: 43.52 kB / 436.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2574, allocations: 16 kB / 436.1 MB, free: 2.145 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.2575, allocations: 157.7 kB / 436.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.2576, allocations: 31.62 kB / 436.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.2597, allocations: 1.002 MB / 437.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2597, allocations: 15.98 kB / 437.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.2597, allocations: 0 / 437.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2597, allocations: 3.984 kB / 437.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.2601, allocations: 0.5559 MB / 437.8 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2602, allocations: 7.922 kB / 437.8 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.2603, allocations: 55.92 kB / 437.9 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.2621, allocations: 426.1 kB / 438.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.2622, allocations: 7.984 kB / 438.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005968/0.2681, allocations: 5.601 MB / 443.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2682, allocations: 4.062 kB / 443.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.2704, allocations: 1.01 MB / 444.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2706, allocations: 132.4 kB / 445.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.2706, allocations: 8 kB / 445.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.271, allocations: 31.91 kB / 445.1 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2711, allocations: 36.39 kB / 445.1 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.2711, allocations: 23.92 kB / 445.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.2714, allocations: 194 kB / 445.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2714, allocations: 4 kB / 445.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.272, allocations: 163.9 kB / 445.5 MB, free: 8.16 MB / 318.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.2722, allocations: 131.1 kB / 445.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.2742, allocations: 1.08 MB / 446.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2742, allocations: 0 / 446.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.2755, allocations: 0.7561 MB / 447.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.276, allocations: 46.02 kB / 447.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2774, allocations: 0.9271 MB / 448.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2777, allocations: 0.8012 MB / 449.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2779, allocations: 43.36 kB / 449.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2779, allocations: 0 / 449.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of Templates: time 0.01203/0.2899, allocations: 9.953 MB / 459.2 MB, free: 10.3 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)