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.001079/0.001078, allocations: 181.8 kB / 13.64 MB, free: 1.676 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.698/1.698, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001636/0.001636, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1586/0.1586, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.8e-05, allocations: 0 / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 53.22 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4336/0.6906, allocations: 95.86 MB / 0.5338 GB, free: 88.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.691, allocations: 86.33 kB / 0.5339 GB, free: 88.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03476/0.7257, allocations: 12.57 MB / 0.5462 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7258, allocations: 0 / 0.5462 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.7258, allocations: 12 kB / 0.5462 GB, free: 82.93 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001009/0.7268, allocations: 0.6643 MB / 0.5468 GB, free: 82.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7269, allocations: 8.031 kB / 0.5468 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005524/0.7274, allocations: 103.2 kB / 0.5469 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.7293, allocations: 0.8264 MB / 0.5477 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.7294, allocations: 32.98 kB / 0.5478 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.7295, allocations: 47.84 kB / 0.5478 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.7302, allocations: 0.6212 MB / 0.5484 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.7302, allocations: 3.953 kB / 0.5484 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.7303, allocations: 27.98 kB / 0.5484 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.7303, allocations: 24.77 kB / 0.5485 GB, free: 80.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.7309, allocations: 442.6 kB / 0.5489 GB, free: 79.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.7335, allocations: 2.922 MB / 0.5517 GB, free: 76.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.7338, allocations: 201 kB / 0.5519 GB, free: 76.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.7339, allocations: 125.8 kB / 0.5521 GB, free: 76.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.734, allocations: 8 kB / 0.5521 GB, free: 76.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.734, allocations: 34.5 kB / 0.5521 GB, free: 76.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.996e-06/0.734, allocations: 0 / 0.5521 GB, free: 76.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001195/0.7352, allocations: 0.856 MB / 0.5529 GB, free: 75.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.7353, allocations: 89.45 kB / 0.553 GB, free: 75.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.7355, allocations: 290.6 kB / 0.5533 GB, free: 75.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.7355, allocations: 33.69 kB / 0.5533 GB, free: 75.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7356, allocations: 291.1 kB / 0.5536 GB, free: 74.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.7357, allocations: 98.64 kB / 0.5537 GB, free: 74.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.7357, allocations: 4 kB / 0.5537 GB, free: 74.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.7358, allocations: 350.8 kB / 0.554 GB, free: 74.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.736, allocations: 132.8 kB / 0.5542 GB, free: 74.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.7362, allocations: 333.2 kB / 0.5545 GB, free: 73.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.7365, allocations: 205.9 kB / 0.5547 GB, free: 73.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7365, allocations: 4 kB / 0.5547 GB, free: 73.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008914/0.7374, allocations: 0.5749 MB / 0.5552 GB, free: 73.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7374, allocations: 8 kB / 0.5553 GB, free: 73.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005104/0.738, allocations: 320.5 kB / 0.5556 GB, free: 72.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.7383, allocations: 80.78 kB / 0.5556 GB, free: 72.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.7386, allocations: 95.83 kB / 0.5557 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.74, allocations: 1.585 MB / 0.5573 GB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.7403, allocations: 19.98 kB / 0.5573 GB, free: 70.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.7403, allocations: 27.98 kB / 0.5573 GB, free: 70.83 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 () * 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.0001113/0.7404, allocations: 136.6 kB / 0.5574 GB, free: 70.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.7405, allocations: 39.48 kB / 0.5575 GB, free: 70.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005349/0.741, allocations: 340.5 kB / 0.5578 GB, free: 70.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.741, allocations: 4 kB / 0.5578 GB, free: 70.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.741, allocations: 0 / 0.5578 GB, free: 70.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7411, allocations: 7.984 kB / 0.5578 GB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.7423, allocations: 0.8642 MB / 0.5587 GB, free: 69.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7423, allocations: 7.938 kB / 0.5587 GB, free: 69.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.7426, allocations: 55.95 kB / 0.5587 GB, free: 69.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.7426, allocations: 0 / 0.5587 GB, free: 69.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.7426, allocations: 11.94 kB / 0.5587 GB, free: 69.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7427, allocations: 4 kB / 0.5587 GB, free: 69.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7427, allocations: 4.062 kB / 0.5587 GB, free: 69.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.7432, allocations: 0.5743 MB / 0.5593 GB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.7433, allocations: 120.6 kB / 0.5594 GB, free: 68.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.7433, allocations: 8 kB / 0.5594 GB, free: 68.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.7436, allocations: 20 kB / 0.5594 GB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.7436, allocations: 23.88 kB / 0.5595 GB, free: 68.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.7437, allocations: 4 kB / 0.5595 GB, free: 68.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.7439, allocations: 222.2 kB / 0.5597 GB, free: 68.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7439, allocations: 0 / 0.5597 GB, free: 68.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005645/0.7445, allocations: 116 kB / 0.5598 GB, free: 68.15 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 () * 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.0002271/0.7447, allocations: 119.1 kB / 0.5599 GB, free: 68.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.7455, allocations: 479.2 kB / 0.5604 GB, free: 67.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7455, allocations: 0.5625 kB / 0.5604 GB, free: 67.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.7457, allocations: 139.8 kB / 0.5605 GB, free: 67.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.7461, allocations: 61.11 kB / 0.5606 GB, free: 67.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.7475, allocations: 0.7765 MB / 0.5613 GB, free: 66.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.7479, allocations: 0.8854 MB / 0.5622 GB, free: 65.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.7482, allocations: 115.1 kB / 0.5623 GB, free: 65.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.7483, allocations: 27.44 kB / 0.5623 GB, free: 65.49 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7483, allocations: 0 / 0.5623 GB, free: 65.49 MB / 378.7 MB Notification: Performance of Templates: time 0.00678/0.7551, allocations: 3.449 MB / 0.5657 GB, free: 62.05 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)