Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002079/0.002079, allocations: 178.7 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.426/1.426, allocations: 194.5 MB / 212.6 MB, free: 2.934 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 109.5 kB / 257.9 MB, free: 4.277 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1992/0.1992, allocations: 38.01 MB / 341.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 20 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09391, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4639, allocations: 95.98 MB / 0.5412 GB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4642, allocations: 93.94 kB / 0.5413 GB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03576/0.5, allocations: 12.56 MB / 0.5536 GB, free: 4.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.426e-05/0.5, allocations: 11.98 kB / 0.5536 GB, free: 4.113 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.045e-05/0.5001, allocations: 11.94 kB / 0.5536 GB, free: 4.102 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001829/0.5019, allocations: 0.7061 MB / 0.5543 GB, free: 3.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.502, allocations: 12.03 kB / 0.5543 GB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.5026, allocations: 96.3 kB / 0.5544 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5037, allocations: 0.549 MB / 0.555 GB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.5038, allocations: 30.38 kB / 0.555 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5039, allocations: 44.12 kB / 0.555 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.505, allocations: 0.6339 MB / 0.5556 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.505, allocations: 4 kB / 0.5556 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.5051, allocations: 17.62 kB / 0.5557 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.5051, allocations: 24.98 kB / 0.5557 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.5059, allocations: 461.5 kB / 0.5561 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.5092, allocations: 2.929 MB / 0.559 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.5095, allocations: 199 kB / 0.5592 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.5097, allocations: 136.8 kB / 0.5593 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.5097, allocations: 4 kB / 0.5593 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.5098, allocations: 37.62 kB / 0.5593 GB, free: 14.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.5098, allocations: 0 / 0.5593 GB, free: 14.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001608/0.5114, allocations: 0.9628 MB / 0.5603 GB, free: 13.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.5115, allocations: 85.05 kB / 0.5604 GB, free: 13.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.5119, allocations: 326.1 kB / 0.5607 GB, free: 13.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5119, allocations: 28.2 kB / 0.5607 GB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5121, allocations: 288.3 kB / 0.561 GB, free: 13.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.5122, allocations: 91.36 kB / 0.5611 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.5123, allocations: 14.5 kB / 0.5611 GB, free: 13.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5124, allocations: 348.9 kB / 0.5614 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.5127, allocations: 140.7 kB / 0.5616 GB, free: 12.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.5131, allocations: 326.6 kB / 0.5619 GB, free: 12.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.5138, allocations: 0.5193 MB / 0.5624 GB, free: 11.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5139, allocations: 0 / 0.5624 GB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001079/0.5149, allocations: 0.5899 MB / 0.5629 GB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.515, allocations: 8 kB / 0.563 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005845/0.5156, allocations: 324.7 kB / 0.5633 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.5159, allocations: 83.72 kB / 0.5633 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.5162, allocations: 94.88 kB / 0.5634 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.5178, allocations: 1.59 MB / 0.565 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.5181, allocations: 22.11 kB / 0.565 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.5182, allocations: 26.67 kB / 0.565 GB, free: 9.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003229/0.5185, allocations: 214.8 kB / 0.5652 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.5186, allocations: 35.56 kB / 0.5653 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.5192, allocations: 351.1 kB / 0.5656 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5192, allocations: 7.938 kB / 0.5656 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5192, allocations: 0 / 0.5656 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5192, allocations: 0 / 0.5656 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5206, allocations: 0.8649 MB / 0.5665 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5206, allocations: 8.047 kB / 0.5665 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.5209, allocations: 51.97 kB / 0.5665 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.5209, allocations: 4 kB / 0.5665 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.5209, allocations: 19.78 kB / 0.5665 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5209, allocations: 3.938 kB / 0.5665 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.521, allocations: 4 kB / 0.5665 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.5217, allocations: 0.5534 MB / 0.5671 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.5218, allocations: 100.7 kB / 0.5672 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.5218, allocations: 11.31 kB / 0.5672 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.522, allocations: 19.2 kB / 0.5672 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.5221, allocations: 19.86 kB / 0.5672 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.5221, allocations: 7.25 kB / 0.5672 GB, free: 7.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.5224, allocations: 220.5 kB / 0.5674 GB, free: 7.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.5224, allocations: 4 kB / 0.5675 GB, free: 7.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005603/0.5229, allocations: 116.8 kB / 0.5676 GB, free: 7.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002208/0.5232, allocations: 118.5 kB / 0.5677 GB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008322/0.524, allocations: 488.1 kB / 0.5681 GB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.524, allocations: 0 / 0.5681 GB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.5242, allocations: 144.2 kB / 0.5683 GB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.5248, allocations: 59.41 kB / 0.5683 GB, free: 6.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.5268, allocations: 1.239 MB / 0.5695 GB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.5273, allocations: 0.8786 MB / 0.5704 GB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003447/0.5277, allocations: 111.2 kB / 0.5705 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5278, allocations: 31.42 kB / 0.5705 GB, free: 4.309 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5278, allocations: 0 / 0.5705 GB, free: 4.309 MB / 378.7 MB Notification: Performance of Templates: time 0.008051/0.5359, allocations: 3.467 MB / 0.5739 GB, free: 0.8555 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)