Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 104.4 kB / 16.03 MB, free: 6.309 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.00148/0.00148, allocations: 194.5 kB / 16.95 MB, free: 6.141 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05443/0.05443, allocations: 8.1 MB / 298.9 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.88 kB / 361.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2543, allocations: 51.5 MB / 412.7 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.003469/0.2579, allocations: 2.473 MB / 415.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.2599, allocations: 1.699 MB / 416.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2601, allocations: 8 kB / 416.9 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.2605, allocations: 143.4 kB / 417 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.2609, allocations: 183 kB / 417.2 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.2622, allocations: 0.9681 MB / 418.2 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.2627, allocations: 473.9 kB / 418.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.2629, allocations: 168.2 kB / 418.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2631, allocations: 199.2 kB / 419 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2633, allocations: 247 kB / 419.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.2634, allocations: 47.94 kB / 419.3 MB, free: 19.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.2638, allocations: 259.8 kB / 419.6 MB, free: 18.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.2638, allocations: 99.55 kB / 419.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.264, allocations: 226.9 kB / 419.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.2646, allocations: 0.6407 MB / 420.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2646, allocations: 3.938 kB / 420.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2646, allocations: 4 kB / 420.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2646, allocations: 0 / 420.5 MB, free: 17.93 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003174/0.2678, allocations: 1.175 MB / 421.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2678, allocations: 12.03 kB / 421.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.2681, allocations: 72.28 kB / 421.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.2685, allocations: 347.5 kB / 422.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.2685, allocations: 32.97 kB / 422.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.2686, allocations: 36.38 kB / 422.2 MB, free: 16.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.2692, allocations: 450.5 kB / 422.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2693, allocations: 192 / 422.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.2693, allocations: 19.94 kB / 422.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2693, allocations: 7.984 kB / 422.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.2699, allocations: 446.5 kB / 423.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.2718, allocations: 1.991 MB / 425.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.2726, allocations: 0.6962 MB / 425.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.273, allocations: 297.2 kB / 426.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.273, allocations: 11.98 kB / 426.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005415/0.2736, allocations: 468.6 kB / 426.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.124e-06/0.2736, allocations: 0 / 426.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.005142/0.2788, allocations: 1.802 MB / 428.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.2788, allocations: 192.4 kB / 428.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.2791, allocations: 306.9 kB / 428.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.2792, allocations: 41.7 kB / 428.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.2792, allocations: 172.8 kB / 429 MB, free: 8.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.2793, allocations: 157.7 kB / 429.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.2795, allocations: 106.2 kB / 429.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.2796, allocations: 346.8 kB / 429.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.2799, allocations: 273.1 kB / 429.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.2802, allocations: 355.7 kB / 430.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.2867, allocations: 2.074 MB / 432.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2867, allocations: 4 kB / 432.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002294/0.289, allocations: 1.191 MB / 433.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.2891, allocations: 41.64 kB / 433.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2891, allocations: 3.938 kB / 433.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.2911, allocations: 0.5197 MB / 434.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2914, allocations: 83.89 kB / 434.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.2962, allocations: 3.957 MB / 438.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.2967, allocations: 55.36 kB / 438.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.2967, allocations: 20 kB / 438.2 MB, free: 15.54 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.297, allocations: 229.1 kB / 438.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.2971, allocations: 39.62 kB / 438.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.2998, allocations: 1.133 MB / 439.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.2999, allocations: 4 kB / 439.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2999, allocations: 0 / 439.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.2999, allocations: 3.984 kB / 439.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.303, allocations: 1.834 MB / 441.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3031, allocations: 3.984 kB / 441.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.3032, allocations: 47.92 kB / 441.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.3054, allocations: 0.5143 MB / 442 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.3054, allocations: 15.98 kB / 442 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/0.3108, allocations: 3.906 MB / 445.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3109, allocations: 4 kB / 445.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.3133, allocations: 1.183 MB / 447.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3135, allocations: 124.5 kB / 447.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.3136, allocations: 12 kB / 447.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.3139, allocations: 23.92 kB / 447.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.314, allocations: 40.38 kB / 447.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.3141, allocations: 23.94 kB / 447.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.3143, allocations: 225.9 kB / 447.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.3143, allocations: 3.938 kB / 447.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007114/0.3151, allocations: 187.8 kB / 447.7 MB, free: 5.711 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.3153, allocations: 134.2 kB / 447.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.3173, allocations: 1.004 MB / 448.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3173, allocations: 0 / 448.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.3185, allocations: 0.6802 MB / 449.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3189, allocations: 48.27 kB / 449.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3203, allocations: 0.9351 MB / 450.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3206, allocations: 0.8133 MB / 451.3 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.3208, allocations: 47.25 kB / 451.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.3209, allocations: 35.42 kB / 451.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3209, allocations: 0 / 451.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Templates: time 0.02016/0.3411, allocations: 11.34 MB / 462.8 MB, free: 6.621 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)