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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.7 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 102.9 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04941/0.04941, allocations: 8.092 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8.656 kB / 413.1 MB, free: 89.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 52.54 MB / 465.6 MB, free: 42.05 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3116/0.4269, allocations: 79.7 MB / 0.5325 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4272, allocations: 57.16 kB / 0.5326 GB, free: 16.68 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:258:7-259:66:writable] Warning: connect(terminalA, terminalA) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.4506, allocations: 9.787 MB / 0.5421 GB, free: 31.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4507, allocations: 0 / 0.5421 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.4507, allocations: 7.844 kB / 0.5422 GB, free: 31.54 MB / 378.7 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.001538/0.4522, allocations: 0.7283 MB / 0.5429 GB, free: 31.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4523, allocations: 7.875 kB / 0.5429 GB, free: 31.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.4525, allocations: 41 kB / 0.5429 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.4528, allocations: 320.5 kB / 0.5432 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4528, allocations: 16.67 kB / 0.5432 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.4529, allocations: 22.62 kB / 0.5433 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.4533, allocations: 329.5 kB / 0.5436 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4533, allocations: 0 / 0.5436 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.4534, allocations: 15.03 kB / 0.5436 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4534, allocations: 7.797 kB / 0.5436 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.4538, allocations: 330.3 kB / 0.5439 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.4553, allocations: 1.439 MB / 0.5453 GB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.456, allocations: 361.6 kB / 0.5457 GB, free: 30.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.4561, allocations: 97.94 kB / 0.5457 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.4566, allocations: 405.7 kB / 0.5461 GB, free: 29.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.4566, allocations: 0 / 0.5461 GB, free: 29.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002816/0.4594, allocations: 1.233 MB / 0.5473 GB, free: 29.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4595, allocations: 248.5 kB / 0.5476 GB, free: 29.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.4597, allocations: 253.1 kB / 0.5478 GB, free: 29.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.4598, allocations: 36.58 kB / 0.5479 GB, free: 28.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.4598, allocations: 144.2 kB / 0.548 GB, free: 28.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.4599, allocations: 119.3 kB / 0.5481 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.4599, allocations: 15.5 kB / 0.5481 GB, free: 28.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.46, allocations: 333.3 kB / 0.5484 GB, free: 28.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.4602, allocations: 166.7 kB / 0.5486 GB, free: 28.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.4604, allocations: 214 kB / 0.5488 GB, free: 28.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.4607, allocations: 213.2 kB / 0.549 GB, free: 28.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4607, allocations: 7.812 kB / 0.549 GB, free: 28.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001379/0.4621, allocations: 0.7569 MB / 0.5498 GB, free: 28.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.4621, allocations: 37.44 kB / 0.5498 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4621, allocations: 3.938 kB / 0.5498 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4633, allocations: 315.8 kB / 0.5501 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4635, allocations: 45.86 kB / 0.5501 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.4666, allocations: 2.802 MB / 0.5529 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.4669, allocations: 25.47 kB / 0.5529 GB, free: 26.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.467, allocations: 17.23 kB / 0.5529 GB, free: 26.9 MB / 378.7 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.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real 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 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.lnFault.myFault.fault,lnFault.myFault.fault,$PRE.lnFault.myFault.Y.re,lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.4672, allocations: 204.8 kB / 0.5531 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.4673, allocations: 35.08 kB / 0.5531 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.4689, allocations: 0.7938 MB / 0.5539 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4689, allocations: 8.312 kB / 0.5539 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4689, allocations: 2.156 kB / 0.5539 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4689, allocations: 6.328 kB / 0.5539 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.4694, allocations: 0.524 MB / 0.5544 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4695, allocations: 0 / 0.5544 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4696, allocations: 43.91 kB / 0.5545 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.4708, allocations: 306.8 kB / 0.5548 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.4708, allocations: 17.08 kB / 0.5548 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.4739, allocations: 2.787 MB / 0.5575 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4739, allocations: 3.938 kB / 0.5575 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.4755, allocations: 0.7726 MB / 0.5583 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.4756, allocations: 118.1 kB / 0.5584 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.4756, allocations: 8.922 kB / 0.5584 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.4759, allocations: 14.25 kB / 0.5584 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.476, allocations: 30.77 kB / 0.5584 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.476, allocations: 14.45 kB / 0.5585 GB, free: 24.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.4763, allocations: 210.3 kB / 0.5587 GB, free: 24.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4763, allocations: 1.125 kB / 0.5587 GB, free: 24.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000486/0.4768, allocations: 121.4 kB / 0.5588 GB, free: 24.68 MB / 378.7 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 (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.477, allocations: 138.3 kB / 0.5589 GB, free: 24.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4782, allocations: 0.6977 MB / 0.5596 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4782, allocations: 4.062 kB / 0.5596 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.479, allocations: 0.5292 MB / 0.5601 GB, free: 24.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.4792, allocations: 22.44 kB / 0.5601 GB, free: 24.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.4808, allocations: 0.8002 MB / 0.5609 GB, free: 23.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4812, allocations: 0.7754 MB / 0.5617 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.4813, allocations: 40.78 kB / 0.5617 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.4814, allocations: 28.5 kB / 0.5617 GB, free: 23.12 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4814, allocations: 0 / 0.5617 GB, free: 23.12 MB / 378.7 MB Notification: Performance of Templates: time 0.009054/0.4904, allocations: 5.946 MB / 0.5675 GB, free: 22.7 MB / 378.7 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)