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.001337/0.001337, allocations: 106.5 kB / 16.98 MB, free: 6.141 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.001514/0.001514, allocations: 187.4 kB / 17.91 MB, free: 5.238 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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04791/0.04791, allocations: 8.092 MB / 299.9 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.89 kB / 362.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2102, allocations: 51.51 MB / 413.9 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002883/0.2131, allocations: 2.246 MB / 416.2 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2149, allocations: 1.66 MB / 417.8 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.215, allocations: 8 kB / 417.8 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.2154, allocations: 147.1 kB / 418 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.2158, allocations: 198.7 kB / 418.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2172, allocations: 0.9605 MB / 419.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.2176, allocations: 418 kB / 419.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.2178, allocations: 135.2 kB / 419.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.218, allocations: 171.4 kB / 419.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.2182, allocations: 227.1 kB / 420.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.2183, allocations: 32 kB / 420.1 MB, free: 19.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.2186, allocations: 219.8 kB / 420.3 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.2187, allocations: 83.62 kB / 420.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2188, allocations: 194.9 kB / 420.6 MB, free: 18.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.2193, allocations: 0.5355 MB / 421.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2193, allocations: 0 / 421.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2193, allocations: 0 / 421.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.2193, allocations: 0 / 421.1 MB, free: 18.36 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.003434/0.2227, allocations: 1.154 MB / 422.3 MB, free: 17.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2228, allocations: 15.89 kB / 422.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.2229, allocations: 40.47 kB / 422.3 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2232, allocations: 331.5 kB / 422.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2233, allocations: 20.94 kB / 422.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.2233, allocations: 32.38 kB / 422.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.2238, allocations: 417.3 kB / 423.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2239, allocations: 192 / 423.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.2239, allocations: 15.94 kB / 423.1 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2239, allocations: 8 kB / 423.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.2244, allocations: 406 kB / 423.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.2262, allocations: 1.546 MB / 425.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.2271, allocations: 0.553 MB / 425.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.2274, allocations: 289.5 kB / 425.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.2275, allocations: 8.359 kB / 425.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2275, allocations: 42.88 kB / 426 MB, free: 13.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.773e-06/0.2276, allocations: 0 / 426 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.00422/0.2318, allocations: 1.647 MB / 427.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2318, allocations: 55.41 kB / 427.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.2321, allocations: 274.6 kB / 427.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.2321, allocations: 37.7 kB / 428 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.2322, allocations: 165 kB / 428.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.2323, allocations: 161.6 kB / 428.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2325, allocations: 90.23 kB / 428.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.2325, allocations: 346.8 kB / 428.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.2328, allocations: 265 kB / 429 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.2332, allocations: 273 kB / 429.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.2338, allocations: 0.5896 MB / 429.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2339, allocations: 0 / 429.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002025/0.2359, allocations: 1.02 MB / 430.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2359, allocations: 11.94 kB / 430.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2359, allocations: 0 / 430.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.2377, allocations: 430.1 kB / 431.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.238, allocations: 75.89 kB / 431.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005388/0.2434, allocations: 6.117 MB / 437.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.2438, allocations: 43.47 kB / 437.5 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.2438, allocations: 19.94 kB / 437.5 MB, free: 1.133 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.0001825/0.244, allocations: 157.8 kB / 437.7 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.2441, allocations: 43.56 kB / 437.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.2462, allocations: 0.9938 MB / 438.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2463, allocations: 8 kB / 438.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2463, allocations: 0 / 438.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2463, allocations: 7.969 kB / 438.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.247, allocations: 0.5637 MB / 439.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.247, allocations: 0 / 439.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.2472, allocations: 59.91 kB / 439.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/0.249, allocations: 426.1 kB / 439.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.249, allocations: 12 kB / 439.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006584/0.2556, allocations: 6.03 MB / 445.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.2556, allocations: 11.95 kB / 445.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.258, allocations: 1.006 MB / 446.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2581, allocations: 124.5 kB / 446.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.2582, allocations: 11.94 kB / 447 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.2586, allocations: 31.97 kB / 447 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.2587, allocations: 36.33 kB / 447 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.2588, allocations: 16 kB / 447 MB, free: 7.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.259, allocations: 201.9 kB / 447.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.259, allocations: 0 / 447.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000631/0.2596, allocations: 167.9 kB / 447.4 MB, free: 6.688 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.000236/0.2599, allocations: 135.3 kB / 447.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.262, allocations: 1.107 MB / 448.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.262, allocations: 0 / 448.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.2634, allocations: 0.7639 MB / 449.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2638, allocations: 44.86 kB / 449.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2652, allocations: 0.7826 MB / 450.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.2655, allocations: 0.8051 MB / 451 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2657, allocations: 39.42 kB / 451.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2657, allocations: 0 / 451.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of Templates: time 0.01197/0.2777, allocations: 9.966 MB / 461 MB, free: 8.91 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)