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.001377/0.001382, allocations: 105.8 kB / 16.98 MB, free: 6.18 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.002085/0.002085, allocations: 187.3 kB / 17.91 MB, free: 5.281 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.409/1.409, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0504/0.0504, allocations: 8.101 MB / 299.9 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 75.88 kB / 362.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.222, allocations: 51.51 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002411/0.2245, allocations: 1.676 MB / 415.6 MB, free: 23.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2261, allocations: 1.571 MB / 417.2 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.2262, allocations: 4 kB / 417.2 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.2266, allocations: 127.3 kB / 417.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.2268, allocations: 135.1 kB / 417.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2281, allocations: 0.9025 MB / 418.3 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.2283, allocations: 258.7 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2285, allocations: 92.52 kB / 418.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.2286, allocations: 115.5 kB / 418.8 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.2288, allocations: 135.5 kB / 418.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.2289, allocations: 20 kB / 418.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.2292, allocations: 211.8 kB / 419.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.2292, allocations: 55.77 kB / 419.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.2293, allocations: 127.3 kB / 419.3 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.2297, allocations: 420.8 kB / 419.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2297, allocations: 0 / 419.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2297, allocations: 0 / 419.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2297, allocations: 0 / 419.7 MB, free: 19.75 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.002324/0.2321, allocations: 0.8461 MB / 420.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2321, allocations: 15.89 kB / 420.6 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.2322, allocations: 24.66 kB / 420.6 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.2325, allocations: 264.7 kB / 420.9 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2325, allocations: 16.81 kB / 420.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.2325, allocations: 20.38 kB / 420.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.2329, allocations: 291.8 kB / 421.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.233, allocations: 4.188 kB / 421.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.233, allocations: 11.94 kB / 421.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.233, allocations: 4 kB / 421.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.2333, allocations: 285.6 kB / 421.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.2346, allocations: 1.035 MB / 422.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.2354, allocations: 464.8 kB / 423 MB, free: 16.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.2356, allocations: 184.8 kB / 423.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.2357, allocations: 4 kB / 423.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2357, allocations: 38.5 kB / 423.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.2357, allocations: 0 / 423.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002697/0.2384, allocations: 0.9599 MB / 424.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.2384, allocations: 55.41 kB / 424.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.2386, allocations: 215.8 kB / 424.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2387, allocations: 29.7 kB / 424.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.2387, allocations: 152.5 kB / 424.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.2388, allocations: 86.66 kB / 424.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.2389, allocations: 77.55 kB / 424.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.239, allocations: 334.8 kB / 425.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.2392, allocations: 175.9 kB / 425.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2394, allocations: 187.9 kB / 425.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.2398, allocations: 385.5 kB / 425.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2398, allocations: 3.938 kB / 425.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001216/0.2411, allocations: 0.6539 MB / 426.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2411, allocations: 15.94 kB / 426.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2411, allocations: 3.938 kB / 426.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009835/0.2421, allocations: 248.6 kB / 426.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2423, allocations: 51.91 kB / 426.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.2453, allocations: 2.709 MB / 429.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.2456, allocations: 27.59 kB / 429.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.2456, allocations: 15.94 kB / 429.5 MB, free: 9.48 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.0001246/0.2457, allocations: 147.1 kB / 429.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.2458, allocations: 23.81 kB / 429.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.247, allocations: 0.6024 MB / 430.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2471, allocations: 4 kB / 430.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.2471, allocations: 0 / 430.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2471, allocations: 4 kB / 430.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.2486, allocations: 1.057 MB / 431.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2486, allocations: 4 kB / 431.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2487, allocations: 27.98 kB / 431.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009111/0.2496, allocations: 244.5 kB / 431.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2497, allocations: 8 kB / 431.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.2523, allocations: 2.673 MB / 434.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2523, allocations: 0 / 434.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2535, allocations: 0.6525 MB / 435 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.2535, allocations: 104.8 kB / 435.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.2536, allocations: 8 kB / 435.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.2538, allocations: 11.98 kB / 435.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.2538, allocations: 23.97 kB / 435.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.2539, allocations: 12 kB / 435.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.254, allocations: 163 kB / 435.3 MB, free: 3.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.254, allocations: 0 / 435.3 MB, free: 3.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.2544, allocations: 108 kB / 435.4 MB, free: 3.359 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.0001688/0.2546, allocations: 131.1 kB / 435.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2558, allocations: 0.631 MB / 436.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2558, allocations: 0 / 436.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.2565, allocations: 402.4 kB / 436.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2568, allocations: 23.94 kB / 436.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.2576, allocations: 0.5555 MB / 437.1 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2578, allocations: 0.7524 MB / 437.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.2579, allocations: 23.44 kB / 437.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2579, allocations: 0 / 437.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of Templates: time 0.006745/0.2646, allocations: 4.693 MB / 442.6 MB, free: 12.07 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)