Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 104.4 kB / 16.31 MB, free: 5.879 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.001089/0.001089, allocations: 193.2 kB / 17.24 MB, free: 5.539 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04976/0.04976, allocations: 8.099 MB / 299.2 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.89 kB / 361.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2349, allocations: 51.51 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002631/0.2376, allocations: 1.911 MB / 415.1 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2391, allocations: 1.598 MB / 416.7 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.2392, allocations: 4 kB / 416.8 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.2395, allocations: 147.2 kB / 416.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.2398, allocations: 147.1 kB / 417 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.241, allocations: 0.8674 MB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.2413, allocations: 330.6 kB / 418.2 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2415, allocations: 138.8 kB / 418.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.2416, allocations: 139.5 kB / 418.5 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.2418, allocations: 179.3 kB / 418.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2419, allocations: 36 kB / 418.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.2422, allocations: 227.8 kB / 418.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.2422, allocations: 75.69 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2424, allocations: 167.2 kB / 419.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.2428, allocations: 0.4967 MB / 419.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2428, allocations: 0 / 419.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2428, allocations: 0 / 419.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2428, allocations: 4 kB / 419.7 MB, free: 19.12 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002393/0.2452, allocations: 0.9256 MB / 420.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2453, allocations: 8.031 kB / 420.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.2455, allocations: 56.48 kB / 420.7 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.2458, allocations: 303.8 kB / 421 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2459, allocations: 20.81 kB / 421 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.2459, allocations: 24.38 kB / 421 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.2464, allocations: 327.8 kB / 421.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2464, allocations: 192 / 421.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.2464, allocations: 15.94 kB / 421.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.2464, allocations: 4 kB / 421.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.2469, allocations: 333.6 kB / 421.7 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.2483, allocations: 1.361 MB / 423 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.249, allocations: 0.5084 MB / 423.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2493, allocations: 213 kB / 423.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/0.2501, allocations: 0.9088 MB / 424.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.2505, allocations: 358.5 kB / 425 MB, free: 13.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2505, allocations: 0 / 425 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002927/0.2534, allocations: 1.106 MB / 426.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.2535, allocations: 199.9 kB / 426.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2537, allocations: 257 kB / 426.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.2538, allocations: 33.7 kB / 426.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.2538, allocations: 156.4 kB / 426.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.2539, allocations: 106.5 kB / 426.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.254, allocations: 86.11 kB / 426.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.2541, allocations: 334.8 kB / 427.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2543, allocations: 184.8 kB / 427.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.2546, allocations: 268.9 kB / 427.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.2589, allocations: 1.435 MB / 429.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2589, allocations: 0 / 429.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001565/0.2605, allocations: 0.8234 MB / 430 MB, free: 8.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.2605, allocations: 33.7 kB / 430 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2606, allocations: 4 kB / 430 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.2618, allocations: 316.5 kB / 430.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2621, allocations: 63.84 kB / 430.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.2655, allocations: 2.941 MB / 433.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.2658, allocations: 43.53 kB / 433.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2658, allocations: 20.03 kB / 433.4 MB, free: 4.68 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real lnFault.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: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.2661, allocations: 210.4 kB / 433.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.2662, allocations: 27.72 kB / 433.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.2677, allocations: 0.7408 MB / 434.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2677, allocations: 7.938 kB / 434.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2678, allocations: 4 kB / 434.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2678, allocations: 0 / 434.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.2681, allocations: 469 kB / 434.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2681, allocations: 0 / 434.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.2682, allocations: 27.98 kB / 434.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.2694, allocations: 308.4 kB / 435.1 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.2695, allocations: 19.98 kB / 435.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.2725, allocations: 2.923 MB / 438.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2725, allocations: 4 kB / 438.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.2741, allocations: 0.7451 MB / 438.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.2742, allocations: 104.7 kB / 438.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.2743, allocations: 15.98 kB / 438.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2745, allocations: 12 kB / 439 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.2746, allocations: 27.97 kB / 439 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2747, allocations: 11.98 kB / 439 MB, free: 14.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.2749, allocations: 196.3 kB / 439.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2749, allocations: 8 kB / 439.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.2754, allocations: 123.9 kB / 439.3 MB, free: 14.45 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,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.2756, allocations: 125.6 kB / 439.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.277, allocations: 0.7284 MB / 440.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.277, allocations: 0.5 kB / 440.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008623/0.2779, allocations: 0.5213 MB / 440.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.2781, allocations: 24.44 kB / 440.7 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2792, allocations: 0.5984 MB / 441.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2795, allocations: 0.7686 MB / 442.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.2796, allocations: 34.45 kB / 442.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.2797, allocations: 27.42 kB / 442.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2797, allocations: 0 / 442.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Templates: time 0.01039/0.2901, allocations: 6.458 MB / 448.6 MB, free: 5.09 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1)