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-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.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.0008719/0.0008721, allocations: 91.7 kB / 16.71 MB, free: 6.637 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.0009449/0.0009451, allocations: 182.1 kB / 17.62 MB, free: 6.164 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.314/1.314, allocations: 223.3 MB / 241.7 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04028/0.04028, allocations: 8.098 MB / 300.9 MB, free: 6.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 364.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2131, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001427/0.2146, allocations: 1.576 MB / 418.2 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2161, allocations: 1.579 MB / 419.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.2162, allocations: 8 kB / 419.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.2165, allocations: 119.5 kB / 419.9 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.2167, allocations: 135.3 kB / 420.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2179, allocations: 0.828 MB / 420.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.2182, allocations: 322.5 kB / 421.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2184, allocations: 105 kB / 421.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.2185, allocations: 123.4 kB / 421.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2187, allocations: 163.3 kB / 421.6 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.2187, allocations: 16 kB / 421.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.219, allocations: 199.8 kB / 421.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.219, allocations: 51.7 kB / 421.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2191, allocations: 173 kB / 422 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.2194, allocations: 385 kB / 422.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2194, allocations: 0 / 422.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2194, allocations: 0 / 422.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2195, allocations: 4 kB / 422.4 MB, free: 19.08 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.002191/0.2216, allocations: 0.8712 MB / 423.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2217, allocations: 11.97 kB / 423.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.2219, allocations: 44.55 kB / 423.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.2222, allocations: 319.6 kB / 423.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2223, allocations: 16.81 kB / 423.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.2223, allocations: 28.38 kB / 423.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.2228, allocations: 331.8 kB / 424 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2228, allocations: 192 / 424 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.2228, allocations: 11.94 kB / 424 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2228, allocations: 12 kB / 424 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.2232, allocations: 329.6 kB / 424.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2247, allocations: 1.365 MB / 425.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.2254, allocations: 0.5123 MB / 426.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.2257, allocations: 209 kB / 426.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007882/0.2265, allocations: 0.901 MB / 427.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.2268, allocations: 363.1 kB / 427.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.2269, allocations: 0 / 427.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002899/0.2298, allocations: 1.098 MB / 428.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2298, allocations: 195.9 kB / 429 MB, free: 12.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.2301, allocations: 264.8 kB / 429.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.2301, allocations: 37.7 kB / 429.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.2302, allocations: 160.4 kB / 429.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.2303, allocations: 102.5 kB / 429.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2303, allocations: 49.69 kB / 429.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.2304, allocations: 342.8 kB / 429.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.2306, allocations: 188.8 kB / 430.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.2309, allocations: 260.9 kB / 430.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.2354, allocations: 1.439 MB / 431.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2354, allocations: 4 kB / 431.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001606/0.237, allocations: 0.8196 MB / 432.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.2371, allocations: 37.69 kB / 432.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2371, allocations: 4 kB / 432.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.2384, allocations: 308.6 kB / 433 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2386, allocations: 67.91 kB / 433 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.2417, allocations: 2.725 MB / 435.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.242, allocations: 35.59 kB / 435.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.2421, allocations: 16.11 kB / 435.8 MB, free: 4.941 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.0002799/0.2424, allocations: 219.7 kB / 436 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.2424, allocations: 27.72 kB / 436 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.244, allocations: 0.7446 MB / 436.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.244, allocations: 4 kB / 436.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.244, allocations: 4 kB / 436.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.244, allocations: 7.922 kB / 436.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.2444, allocations: 469.1 kB / 437.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2444, allocations: 4 kB / 437.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/0.2445, allocations: 23.98 kB / 437.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.2457, allocations: 308.8 kB / 437.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.2457, allocations: 11.98 kB / 437.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.2487, allocations: 2.702 MB / 440.3 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2487, allocations: 4 kB / 440.3 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.2504, allocations: 0.7374 MB / 441 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.2505, allocations: 116.7 kB / 441.2 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.2505, allocations: 8 kB / 441.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2508, allocations: 15.98 kB / 441.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.2509, allocations: 28.08 kB / 441.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.2509, allocations: 15.94 kB / 441.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.2511, allocations: 192.5 kB / 441.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2511, allocations: 4 kB / 441.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.2516, allocations: 131.8 kB / 441.5 MB, free: 14.93 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.0002033/0.2518, allocations: 123.2 kB / 441.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.2532, allocations: 0.7368 MB / 442.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2533, allocations: 4.062 kB / 442.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009167/0.2542, allocations: 0.5174 MB / 442.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.2544, allocations: 24.38 kB / 443 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2556, allocations: 0.7386 MB / 443.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2559, allocations: 0.765 MB / 444.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.256, allocations: 31.42 kB / 444.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.256, allocations: 4 kB / 444.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Templates: time 0.007539/0.2635, allocations: 5.606 MB / 450.1 MB, free: 6.262 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)