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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.00171/0.00171, allocations: 104.6 kB / 16.03 MB, free: 6.277 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.001851/0.001851, allocations: 191 kB / 16.95 MB, free: 6.098 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06327/0.06327, allocations: 8.101 MB / 298.9 MB, free: 6.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.91 kB / 361.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2333, allocations: 51.51 MB / 412.7 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002932/0.2362, allocations: 2.277 MB / 415 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2381, allocations: 1.649 MB / 416.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2383, allocations: 4 kB / 416.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.2387, allocations: 127.5 kB / 416.8 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.2391, allocations: 179 kB / 417 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.2405, allocations: 0.9019 MB / 417.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.2409, allocations: 418 kB / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2411, allocations: 131.2 kB / 418.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2412, allocations: 175.3 kB / 418.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2414, allocations: 223.1 kB / 418.8 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.2415, allocations: 32 kB / 418.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.2418, allocations: 223.8 kB / 419 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.2419, allocations: 87.61 kB / 419.1 MB, free: 19.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.242, allocations: 195 kB / 419.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.2424, allocations: 0.5355 MB / 419.8 MB, free: 18.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2424, allocations: 0 / 419.8 MB, free: 18.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2425, allocations: 3.938 kB / 419.8 MB, free: 18.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2425, allocations: 0 / 419.8 MB, free: 18.65 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.003252/0.2457, allocations: 1.15 MB / 421 MB, free: 17.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2458, allocations: 15.95 kB / 421 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.2459, allocations: 44.47 kB / 421.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.2462, allocations: 327.5 kB / 421.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2462, allocations: 24.94 kB / 421.4 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.2463, allocations: 28.38 kB / 421.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.2469, allocations: 417.3 kB / 421.8 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2469, allocations: 192 / 421.8 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.2469, allocations: 15.94 kB / 421.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.247, allocations: 8 kB / 421.9 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.2474, allocations: 410.1 kB / 422.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.2492, allocations: 1.546 MB / 423.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.2501, allocations: 0.5552 MB / 424.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.2505, allocations: 285.5 kB / 424.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/0.2506, allocations: 8.359 kB / 424.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2506, allocations: 46.92 kB / 424.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/0.2506, allocations: 0 / 424.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.00423/0.2548, allocations: 1.643 MB / 426.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2549, allocations: 55.41 kB / 426.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2552, allocations: 282.6 kB / 426.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.2553, allocations: 37.7 kB / 426.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.2554, allocations: 157 kB / 426.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.2555, allocations: 157.6 kB / 427 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.2556, allocations: 98.23 kB / 427.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.2557, allocations: 338.8 kB / 427.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.256, allocations: 265 kB / 427.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.2563, allocations: 269 kB / 428 MB, free: 10.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.2569, allocations: 0.5858 MB / 428.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2569, allocations: 0 / 428.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002103/0.259, allocations: 1.024 MB / 429.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.2591, allocations: 4 kB / 429.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2591, allocations: 4 kB / 429.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.2608, allocations: 430.1 kB / 430 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.2611, allocations: 71.91 kB / 430.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.2664, allocations: 6.108 MB / 436.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.2668, allocations: 39.53 kB / 436.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.2668, allocations: 23.92 kB / 436.2 MB, free: 1.453 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.0001696/0.267, allocations: 154 kB / 436.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.2671, allocations: 35.56 kB / 436.4 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.2691, allocations: 1.001 MB / 437.4 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2691, allocations: 12 kB / 437.4 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2691, allocations: 0 / 437.4 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2691, allocations: 0 / 437.4 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.2696, allocations: 0.5637 MB / 438 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2697, allocations: 0 / 438 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.2699, allocations: 59.91 kB / 438.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.2716, allocations: 434.1 kB / 438.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.2716, allocations: 8 kB / 438.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.278, allocations: 6.041 MB / 444.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.278, allocations: 8 kB / 444.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.2804, allocations: 1.017 MB / 445.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2805, allocations: 124.5 kB / 445.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.2805, allocations: 12.19 kB / 445.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.2809, allocations: 31.97 kB / 445.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.281, allocations: 40.38 kB / 445.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.2811, allocations: 16 kB / 445.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.2813, allocations: 198 kB / 446 MB, free: 7.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2813, allocations: 0 / 446 MB, free: 7.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006915/0.282, allocations: 171.9 kB / 446.1 MB, free: 6.988 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.0002291/0.2822, allocations: 119.2 kB / 446.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.2844, allocations: 1.115 MB / 447.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2844, allocations: 0 / 447.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.2857, allocations: 0.76 MB / 448.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.2862, allocations: 46.91 kB / 448.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.2876, allocations: 0.8896 MB / 449.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.288, allocations: 0.7973 MB / 449.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.2882, allocations: 50.92 kB / 449.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.2883, allocations: 39.42 kB / 449.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2883, allocations: 0 / 449.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Templates: time 0.01602/0.3043, allocations: 10.81 MB / 460.8 MB, free: 8.301 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)