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.001236/0.001236, allocations: 116.5 kB / 16.69 MB, free: 6.242 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.001286/0.001286, allocations: 191.9 kB / 17.61 MB, free: 5.715 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.307/1.307, allocations: 222.9 MB / 241.3 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0679/0.0679, allocations: 8.101 MB / 299.5 MB, free: 6.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 361.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.229, allocations: 51.52 MB / 413.4 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002607/0.2316, allocations: 2.28 MB / 415.7 MB, free: 23.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2334, allocations: 1.652 MB / 417.3 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.2335, allocations: 8 kB / 417.3 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.2339, allocations: 127.4 kB / 417.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.2343, allocations: 171 kB / 417.6 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.2356, allocations: 0.9103 MB / 418.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.2361, allocations: 406 kB / 418.9 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2363, allocations: 139.2 kB / 419.1 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2364, allocations: 171.3 kB / 419.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2366, allocations: 219.1 kB / 419.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.2367, allocations: 32 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.237, allocations: 223.8 kB / 419.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.237, allocations: 87.66 kB / 419.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2372, allocations: 198.9 kB / 420 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.2375, allocations: 409.1 kB / 420.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2375, allocations: 0 / 420.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2375, allocations: 0 / 420.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2375, allocations: 4 kB / 420.4 MB, free: 18.8 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.003315/0.2409, allocations: 1.146 MB / 421.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2409, allocations: 11.89 kB / 421.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.241, allocations: 48.47 kB / 421.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.2413, allocations: 327.5 kB / 421.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2414, allocations: 24.94 kB / 421.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2414, allocations: 28.38 kB / 422 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.242, allocations: 417.3 kB / 422.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.242, allocations: 192 / 422.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.242, allocations: 15.94 kB / 422.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.242, allocations: 4 kB / 422.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.2425, allocations: 410.1 kB / 422.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.2442, allocations: 1.546 MB / 424.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.2452, allocations: 0.5514 MB / 424.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.2455, allocations: 285.5 kB / 425.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.2456, allocations: 12.34 kB / 425.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2456, allocations: 42.94 kB / 425.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.713e-06/0.2456, allocations: 4 kB / 425.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.004126/0.2497, allocations: 1.643 MB / 426.9 MB, free: 12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2498, allocations: 59.34 kB / 426.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.25, allocations: 282.6 kB / 427.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.2501, allocations: 41.7 kB / 427.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.2502, allocations: 153 kB / 427.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.2503, allocations: 161.6 kB / 427.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.2504, allocations: 94.23 kB / 427.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.2505, allocations: 338.8 kB / 428 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.2508, allocations: 269 kB / 428.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.2511, allocations: 273 kB / 428.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.2517, allocations: 0.5857 MB / 429.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2517, allocations: 4 kB / 429.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001978/0.2537, allocations: 1.016 MB / 430.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2537, allocations: 4 kB / 430.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2537, allocations: 0 / 430.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.2554, allocations: 438.1 kB / 430.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2557, allocations: 75.89 kB / 430.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.2611, allocations: 6.108 MB / 436.7 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.2615, allocations: 43.52 kB / 436.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.2616, allocations: 16 kB / 436.8 MB, free: 1.598 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.0001719/0.2617, allocations: 157.8 kB / 436.9 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.2618, allocations: 35.56 kB / 437 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.2639, allocations: 1.002 MB / 438 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2639, allocations: 8 kB / 438 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2639, allocations: 0 / 438 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2639, allocations: 3.984 kB / 438 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.2644, allocations: 0.5598 MB / 438.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2644, allocations: 0 / 438.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2646, allocations: 59.91 kB / 438.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.2663, allocations: 426.1 kB / 439 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.2664, allocations: 19.92 kB / 439 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00636/0.2728, allocations: 6.03 MB / 445.1 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2728, allocations: 3.938 kB / 445.1 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.2751, allocations: 1.017 MB / 446.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2752, allocations: 124.5 kB / 446.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.2753, allocations: 11.94 kB / 446.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.2756, allocations: 26.94 kB / 446.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2758, allocations: 44.31 kB / 446.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.2758, allocations: 16.25 kB / 446.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.2761, allocations: 201.9 kB / 446.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2761, allocations: 0 / 446.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006198/0.2767, allocations: 171.9 kB / 446.7 MB, free: 7.145 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.0002277/0.2769, allocations: 123.2 kB / 446.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.279, allocations: 1.115 MB / 447.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.279, allocations: 0 / 447.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2804, allocations: 0.7639 MB / 448.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.2808, allocations: 51.16 kB / 448.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.2821, allocations: 0.9046 MB / 449.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.2825, allocations: 0.8051 MB / 450.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.2826, allocations: 35.42 kB / 450.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of SimCode: time 2.184e-06/0.2826, allocations: 4 kB / 450.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of Templates: time 0.01192/0.2945, allocations: 9.967 MB / 460.4 MB, free: 9.242 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)