Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.0009963, allocations: 92.48 kB / 16.71 MB, free: 6.645 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.00125/0.00125, allocations: 176.2 kB / 17.62 MB, free: 6.156 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.352/1.352, allocations: 223.3 MB / 241.7 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0426/0.0426, allocations: 8.096 MB / 300.9 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004845, allocations: 8 kB / 364.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2428, allocations: 52.51 MB / 416.7 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.001954/0.2448, allocations: 2.416 MB / 419.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2468, allocations: 1.73 MB / 420.8 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2469, allocations: 8 kB / 420.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.2474, allocations: 159.3 kB / 421 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.2478, allocations: 234.7 kB / 421.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.2494, allocations: 1.062 MB / 422.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.2499, allocations: 0.4936 MB / 422.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2501, allocations: 130.5 kB / 422.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2502, allocations: 187.2 kB / 423.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.2504, allocations: 238.9 kB / 423.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.2505, allocations: 24 kB / 423.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2509, allocations: 243.7 kB / 423.6 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.251, allocations: 87.55 kB / 423.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2512, allocations: 256.5 kB / 423.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.2516, allocations: 482.6 kB / 424.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2516, allocations: 0 / 424.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2516, allocations: 4 kB / 424.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2516, allocations: 0 / 424.4 MB, free: 17.04 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00559/0.2572, allocations: 1.588 MB / 426 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.2573, allocations: 8.031 kB / 426 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2574, allocations: 56.38 kB / 426 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2577, allocations: 371.9 kB / 426.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2578, allocations: 29.38 kB / 426.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.2579, allocations: 48.38 kB / 426.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.2587, allocations: 0.601 MB / 427.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2587, allocations: 3.938 kB / 427.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.2587, allocations: 12 kB / 427.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2588, allocations: 12 kB / 427.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.2595, allocations: 0.5467 MB / 427.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.2621, allocations: 2.235 MB / 429.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009803/0.2631, allocations: 0.8848 MB / 430.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.2635, allocations: 394.5 kB / 431.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.2649, allocations: 1.334 MB / 432.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2649, allocations: 54.86 kB / 432.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.2649, allocations: 0 / 432.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00987/0.2748, allocations: 2.65 MB / 435.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2749, allocations: 107.2 kB / 435.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.2753, allocations: 341.4 kB / 435.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.2754, allocations: 41.7 kB / 435.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2755, allocations: 205 kB / 435.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2756, allocations: 185.3 kB / 436 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2757, allocations: 73.61 kB / 436.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.2758, allocations: 354.8 kB / 436.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.2763, allocations: 397.9 kB / 436.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.2769, allocations: 0.5089 MB / 437.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.278, allocations: 0.9453 MB / 438.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.278, allocations: 0 / 438.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004382/0.2824, allocations: 1.789 MB / 440.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.2824, allocations: 8 kB / 440.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2824, allocations: 4 kB / 440.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/0.2873, allocations: 1.104 MB / 441.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.2878, allocations: 115.8 kB / 441.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008908/0.2967, allocations: 4.791 MB / 446.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/0.2974, allocations: 75.16 kB / 446.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.2974, allocations: 31.98 kB / 446.2 MB, free: 10.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.2977, allocations: 185.8 kB / 446.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.2978, allocations: 43.44 kB / 446.4 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.3026, allocations: 1.617 MB / 448.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3026, allocations: 12 kB / 448.1 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3026, allocations: 4 kB / 448.1 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3026, allocations: 3.984 kB / 448.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.3034, allocations: 0.6736 MB / 448.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3034, allocations: 0 / 448.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.3036, allocations: 67.91 kB / 448.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00491/0.3085, allocations: 1.032 MB / 449.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.3086, allocations: 11.98 kB / 449.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008816/0.3174, allocations: 4.771 MB / 454.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3175, allocations: 4 kB / 454.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/0.3221, allocations: 1.624 MB / 456.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.3223, allocations: 140.3 kB / 456.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.3224, allocations: 4 kB / 456.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.3229, allocations: 27.94 kB / 456.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.3231, allocations: 44.48 kB / 456.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.3232, allocations: 16 kB / 456.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.3236, allocations: 223.2 kB / 456.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3236, allocations: 0 / 456.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001281/0.3249, allocations: 232 kB / 456.9 MB, free: 15.46 MB / 334.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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.3252, allocations: 131.7 kB / 457.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00462/0.3298, allocations: 1.337 MB / 458.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3298, allocations: 0.5625 kB / 458.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003249/0.3331, allocations: 0.83 MB / 459.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.3338, allocations: 33.44 kB / 459.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.3364, allocations: 1.161 MB / 460.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.337, allocations: 0.8371 MB / 461.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3372, allocations: 43.42 kB / 461.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3373, allocations: 4 kB / 461.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Templates: time 0.02009/0.3574, allocations: 9.312 MB / 470.6 MB, free: 1.711 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)