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.001304/0.001304, allocations: 170 kB / 16.8 MB, free: 4.902 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.347/1.347, allocations: 223.3 MB / 240.8 MB, free: 9.977 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.0007981/0.0007982, allocations: 91.58 kB / 292 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04216/0.04216, allocations: 8.092 MB / 351.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12.88 kB / 414.4 MB, free: 57.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09003, allocations: 52.51 MB / 466.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.3871, allocations: 80.62 MB / 0.5347 GB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.3874, allocations: 62.17 kB / 0.5347 GB, free: 4.902 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.03084/0.4182, allocations: 12.79 MB / 0.5472 GB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4183, allocations: 4 kB / 0.5472 GB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.4183, allocations: 8 kB / 0.5472 GB, free: 10.7 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.002345/0.4206, allocations: 0.8859 MB / 0.5481 GB, free: 9.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4207, allocations: 8.031 kB / 0.5481 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.421, allocations: 55.64 kB / 0.5482 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.4216, allocations: 392.5 kB / 0.5485 GB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.4217, allocations: 21.03 kB / 0.5486 GB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.4218, allocations: 32.38 kB / 0.5486 GB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.4225, allocations: 454.5 kB / 0.549 GB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.4226, allocations: 192 / 0.549 GB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.4226, allocations: 15.94 kB / 0.549 GB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4226, allocations: 11.94 kB / 0.549 GB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.4233, allocations: 446.5 kB / 0.5495 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.4263, allocations: 2.116 MB / 0.5515 GB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.4274, allocations: 0.6138 MB / 0.5521 GB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.4278, allocations: 305.1 kB / 0.5524 GB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.428, allocations: 89.09 kB / 0.5525 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000705/0.4287, allocations: 468.5 kB / 0.553 GB, free: 4.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.685e-06/0.4287, allocations: 0 / 0.553 GB, free: 4.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.005261/0.434, allocations: 1.76 MB / 0.5547 GB, free: 2.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4341, allocations: 192.4 kB / 0.5549 GB, free: 2.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.4346, allocations: 326.9 kB / 0.5552 GB, free: 2.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.4346, allocations: 37.7 kB / 0.5552 GB, free: 2.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4347, allocations: 168.9 kB / 0.5554 GB, free: 1.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4349, allocations: 157.8 kB / 0.5555 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.4349, allocations: 12 kB / 0.5555 GB, free: 1.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4351, allocations: 346.8 kB / 0.5559 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.4355, allocations: 232.9 kB / 0.5561 GB, free: 1.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.4359, allocations: 271.2 kB / 0.5563 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/0.4414, allocations: 1.663 MB / 0.558 GB, free: 15.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.4414, allocations: 0 / 0.558 GB, free: 15.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002514/0.4439, allocations: 1.068 MB / 0.559 GB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.444, allocations: 37.7 kB / 0.5591 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.444, allocations: 3.938 kB / 0.5591 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.4461, allocations: 0.512 MB / 0.5596 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.4463, allocations: 55.91 kB / 0.5596 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.4518, allocations: 3.672 MB / 0.5632 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.4522, allocations: 35.67 kB / 0.5632 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.4523, allocations: 15.94 kB / 0.5632 GB, free: 9.699 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real line2.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: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.fault,$PRE.line2.myFault.Y.im,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,line2.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked 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.0003676/0.4527, allocations: 222 kB / 0.5635 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4528, allocations: 39.53 kB / 0.5635 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.4555, allocations: 1.176 MB / 0.5646 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4556, allocations: 8 kB / 0.5646 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4556, allocations: 0 / 0.5646 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4556, allocations: 3.984 kB / 0.5647 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.459, allocations: 1.912 MB / 0.5665 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.459, allocations: 0 / 0.5665 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4592, allocations: 51.91 kB / 0.5666 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.4613, allocations: 0.5105 MB / 0.5671 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.4613, allocations: 12 kB / 0.5671 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005276/0.4666, allocations: 3.639 MB / 0.5706 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4666, allocations: 3.984 kB / 0.5706 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.4692, allocations: 1.187 MB / 0.5718 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4693, allocations: 136.4 kB / 0.5719 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.4694, allocations: 16 kB / 0.5719 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.4698, allocations: 23.98 kB / 0.572 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.4699, allocations: 40.38 kB / 0.572 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.47, allocations: 19.98 kB / 0.572 GB, free: 436 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003125/0.4703, allocations: 245.9 kB / 0.5723 GB, free: 192 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4703, allocations: 4 kB / 0.5723 GB, free: 188 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006647/0.471, allocations: 179.8 kB / 0.5724 GB, free: 8 kB / 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) * Number of clocked states: 0 () * 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.0002704/0.4712, allocations: 135 kB / 0.5726 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.473, allocations: 0.9142 MB / 0.5735 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.473, allocations: 0 / 0.5735 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4741, allocations: 0.684 MB / 0.5741 GB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4745, allocations: 40.83 kB / 0.5742 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.476, allocations: 0.9162 MB / 0.5751 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.4764, allocations: 0.802 MB / 0.5758 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.4766, allocations: 51.33 kB / 0.5759 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.4767, allocations: 39.42 kB / 0.5759 GB, free: 12.32 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4767, allocations: 4 kB / 0.5759 GB, free: 12.32 MB / 394.7 MB Notification: Performance of Templates: time 0.01569/0.4924, allocations: 10.26 MB / 0.586 GB, free: 2.102 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)