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.0009979/0.0009978, allocations: 176 kB / 8.043 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.5 MB / 230 MB, free: 3.172 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.001056/0.001056, allocations: 99.7 kB / 280.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0718/0.0718, allocations: 8.101 MB / 339.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.75e-05, allocations: 4 kB / 398.5 MB, free: 67.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 52.52 MB / 451 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5034, allocations: 80.19 MB / 0.5187 GB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.5037, allocations: 62.73 kB / 0.5188 GB, free: 13.81 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.03258/0.5363, allocations: 12.58 MB / 0.5311 GB, free: 4.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5363, allocations: 0 / 0.5311 GB, free: 4.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.878e-05/0.5363, allocations: 4 kB / 0.5311 GB, free: 4.09 MB / 346.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.002197/0.5386, allocations: 0.815 MB / 0.5319 GB, free: 3.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5386, allocations: 11.98 kB / 0.5319 GB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.5389, allocations: 55.86 kB / 0.5319 GB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.5395, allocations: 379.5 kB / 0.5323 GB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5395, allocations: 12 kB / 0.5323 GB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.5396, allocations: 16 kB / 0.5323 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006296/0.5402, allocations: 434.1 kB / 0.5327 GB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.5409, allocations: 399.3 kB / 0.5331 GB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5409, allocations: 3.938 kB / 0.5331 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.5409, allocations: 7.953 kB / 0.5331 GB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.541, allocations: 7.938 kB / 0.5331 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.5438, allocations: 2.053 MB / 0.5351 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.5447, allocations: 0.579 MB / 0.5357 GB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.5451, allocations: 274.4 kB / 0.536 GB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.5453, allocations: 93.08 kB / 0.5361 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005511/0.5459, allocations: 436.2 kB / 0.5365 GB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.5459, allocations: 4 kB / 0.5365 GB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002619/0.5485, allocations: 0.9662 MB / 0.5374 GB, free: 14.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5486, allocations: 191.9 kB / 0.5376 GB, free: 14.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.549, allocations: 290.1 kB / 0.5379 GB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.549, allocations: 29.7 kB / 0.5379 GB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5491, allocations: 181.1 kB / 0.5381 GB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5493, allocations: 147 kB / 0.5382 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.5493, allocations: 0 / 0.5382 GB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5495, allocations: 345 kB / 0.5385 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.5498, allocations: 218.4 kB / 0.5388 GB, free: 13.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.5501, allocations: 267.6 kB / 0.539 GB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.5508, allocations: 277.4 kB / 0.5393 GB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5508, allocations: 0 / 0.5393 GB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002598/0.5534, allocations: 1.012 MB / 0.5403 GB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.5534, allocations: 36.62 kB / 0.5403 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5535, allocations: 0 / 0.5403 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/0.5556, allocations: 0.499 MB / 0.5408 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.5558, allocations: 55.89 kB / 0.5408 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005043/0.5609, allocations: 3.525 MB / 0.5443 GB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.5613, allocations: 35.59 kB / 0.5443 GB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.5614, allocations: 19.66 kB / 0.5443 GB, free: 9.758 MB / 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.0002794/0.5617, allocations: 163.6 kB / 0.5445 GB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.5618, allocations: 35.62 kB / 0.5445 GB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.5647, allocations: 1.088 MB / 0.5456 GB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5647, allocations: 7.984 kB / 0.5456 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.5647, allocations: 0 / 0.5456 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5647, allocations: 3.953 kB / 0.5456 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.5682, allocations: 1.774 MB / 0.5473 GB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5682, allocations: 0 / 0.5473 GB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5684, allocations: 59.84 kB / 0.5474 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/0.5705, allocations: 0.4963 MB / 0.5479 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.5706, allocations: 8 kB / 0.5479 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.5759, allocations: 3.523 MB / 0.5513 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5759, allocations: 0 / 0.5513 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.5788, allocations: 1.113 MB / 0.5524 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.579, allocations: 128.5 kB / 0.5525 GB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.5791, allocations: 4 kB / 0.5525 GB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.5795, allocations: 19.98 kB / 0.5526 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5796, allocations: 56.27 kB / 0.5526 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.5797, allocations: 16 kB / 0.5526 GB, free: 1.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000281/0.58, allocations: 230 kB / 0.5528 GB, free: 1.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.58, allocations: 0 / 0.5528 GB, free: 1.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006876/0.5807, allocations: 155.8 kB / 0.553 GB, free: 1.18 MB / 362.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 (31): * Single equations (assignments): 29 * 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.0002802/0.581, allocations: 123.2 kB / 0.5531 GB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.5827, allocations: 0.8597 MB / 0.5539 GB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5828, allocations: 0 / 0.5539 GB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.5839, allocations: 0.6321 MB / 0.5546 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.5843, allocations: 28.77 kB / 0.5546 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5854, allocations: 0.5202 MB / 0.5551 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.5859, allocations: 0.8093 MB / 0.5559 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.5861, allocations: 55.17 kB / 0.5559 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.5862, allocations: 39.41 kB / 0.556 GB, free: 14.01 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5862, allocations: 0 / 0.556 GB, free: 14.01 MB / 378.7 MB Notification: Performance of Templates: time 0.018/0.6042, allocations: 9.452 MB / 0.5652 GB, free: 4.602 MB / 378.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)