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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 182.4 kB / 13.23 MB, free: 2.086 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.272/1.272, allocations: 221.4 MB / 235.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 100.6 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03925/0.03925, allocations: 8.09 MB / 345.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.431e-05, allocations: 4 kB / 405.5 MB, free: 61.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07302/0.07306, allocations: 52.51 MB / 458 MB, free: 9.484 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.3699, allocations: 80.79 MB / 0.5261 GB, free: 5.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.3701, allocations: 58.86 kB / 0.5262 GB, free: 5.234 MB / 346.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.03122/0.4013, allocations: 12.77 MB / 0.5387 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4014, allocations: 0 / 0.5387 GB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4014, allocations: 4 kB / 0.5387 GB, free: 11.07 MB / 362.7 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.00194/0.4033, allocations: 0.812 MB / 0.5395 GB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4034, allocations: 8.031 kB / 0.5395 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.4036, allocations: 55.47 kB / 0.5395 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.4041, allocations: 382.7 kB / 0.5399 GB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4041, allocations: 20.16 kB / 0.5399 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.4042, allocations: 27 kB / 0.5399 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.4049, allocations: 445.9 kB / 0.5403 GB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4049, allocations: 4 kB / 0.5404 GB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.405, allocations: 14.92 kB / 0.5404 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.405, allocations: 11.95 kB / 0.5404 GB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.4056, allocations: 443.1 kB / 0.5408 GB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.4081, allocations: 2.119 MB / 0.5429 GB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.4091, allocations: 0.6117 MB / 0.5435 GB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.4095, allocations: 299.5 kB / 0.5438 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.4096, allocations: 93.08 kB / 0.5438 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.4102, allocations: 459.8 kB / 0.5443 GB, free: 6.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.4102, allocations: 0 / 0.5443 GB, free: 6.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.002426/0.4126, allocations: 1.02 MB / 0.5453 GB, free: 5.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.4127, allocations: 196.1 kB / 0.5455 GB, free: 5.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.4131, allocations: 283.7 kB / 0.5457 GB, free: 5.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.4131, allocations: 40.75 kB / 0.5458 GB, free: 5.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.4132, allocations: 175.4 kB / 0.5459 GB, free: 5.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4133, allocations: 163.1 kB / 0.5461 GB, free: 4.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.4134, allocations: 10.56 kB / 0.5461 GB, free: 4.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4135, allocations: 349.9 kB / 0.5464 GB, free: 4.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.4138, allocations: 225 kB / 0.5467 GB, free: 4.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.4141, allocations: 273.4 kB / 0.5469 GB, free: 4.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.4145, allocations: 285.4 kB / 0.5472 GB, free: 4.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4145, allocations: 0 / 0.5472 GB, free: 4.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00238/0.4169, allocations: 1.066 MB / 0.5482 GB, free: 3.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.417, allocations: 29.7 kB / 0.5483 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.417, allocations: 7.984 kB / 0.5483 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.4192, allocations: 0.5135 MB / 0.5488 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.4194, allocations: 51.91 kB / 0.5488 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/0.4245, allocations: 3.659 MB / 0.5524 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.425, allocations: 38.22 kB / 0.5524 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.425, allocations: 19.86 kB / 0.5524 GB, free: 344 kB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = false ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = false ) "Imaginary part of complex number" type: Real line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = false ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.line2.myFault.fault,line2.myFault.fault,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * 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: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.4253, allocations: 173 kB / 0.5526 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.4254, allocations: 35.62 kB / 0.5526 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.4281, allocations: 1.171 MB / 0.5538 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4282, allocations: 4 kB / 0.5538 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4282, allocations: 7.891 kB / 0.5538 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4282, allocations: 0 / 0.5538 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.4317, allocations: 1.904 MB / 0.5557 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4317, allocations: 4 kB / 0.5557 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.4319, allocations: 55.91 kB / 0.5557 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/0.4341, allocations: 0.4984 MB / 0.5562 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.4342, allocations: 15.98 kB / 0.5562 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.4392, allocations: 3.615 MB / 0.5597 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4393, allocations: 4 kB / 0.5597 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.442, allocations: 1.176 MB / 0.5609 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.4421, allocations: 128.5 kB / 0.561 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.4422, allocations: 19.95 kB / 0.561 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.4426, allocations: 23.98 kB / 0.5611 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4428, allocations: 44.31 kB / 0.5611 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.4428, allocations: 16 kB / 0.5611 GB, free: 7.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.4431, allocations: 243.1 kB / 0.5613 GB, free: 7.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4431, allocations: 0 / 0.5613 GB, free: 7.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005978/0.4437, allocations: 179.8 kB / 0.5615 GB, free: 6.992 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,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/0.4439, allocations: 144.6 kB / 0.5617 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.4456, allocations: 0.8945 MB / 0.5625 GB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.4456, allocations: 8 kB / 0.5625 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.4467, allocations: 0.6723 MB / 0.5632 GB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4471, allocations: 32.89 kB / 0.5632 GB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4481, allocations: 0.5505 MB / 0.5638 GB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.4485, allocations: 0.8175 MB / 0.5646 GB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.4487, allocations: 51.42 kB / 0.5646 GB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.4488, allocations: 35.42 kB / 0.5646 GB, free: 3.684 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4488, allocations: 0 / 0.5646 GB, free: 3.684 MB / 378.7 MB Notification: Performance of Templates: time 0.01671/0.4655, allocations: 10.28 MB / 0.5747 GB, free: 9.449 MB / 394.7 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)