Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009387/0.0009389, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.342/1.342, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.00166/0.001661, allocations: 123 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1553/0.1553, allocations: 37.93 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.737e-05, allocations: 4 kB / 390.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2277, allocations: 53.22 MB / 443.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3393, allocations: 96.26 MB / 0.5272 GB, free: 1.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.3396, allocations: 83.95 kB / 0.5273 GB, free: 1.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2339/0.5735, allocations: 14.46 MB / 0.5414 GB, free: 87.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5735, allocations: 3.938 kB / 0.5414 GB, free: 87.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.5736, allocations: 15.5 kB / 0.5414 GB, free: 87.98 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0008757/0.5745, allocations: 0.6721 MB / 0.5421 GB, free: 87.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5745, allocations: 8.031 kB / 0.5421 GB, free: 87.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.5751, allocations: 87.38 kB / 0.5422 GB, free: 87.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.5768, allocations: 0.8496 MB / 0.543 GB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.5768, allocations: 15.98 kB / 0.543 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.5769, allocations: 28 kB / 0.543 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004894/0.5774, allocations: 378.4 kB / 0.5434 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.578, allocations: 0.5797 MB / 0.544 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5781, allocations: 0 / 0.544 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.5781, allocations: 4 kB / 0.544 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/0.5782, allocations: 44.73 kB / 0.544 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5803, allocations: 2.957 MB / 0.5469 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.5807, allocations: 253.3 kB / 0.5471 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5808, allocations: 133.8 kB / 0.5473 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.5809, allocations: 7.891 kB / 0.5473 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.5809, allocations: 38.56 kB / 0.5473 GB, free: 81.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.5809, allocations: 0 / 0.5473 GB, free: 81.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001168/0.5821, allocations: 0.8737 MB / 0.5482 GB, free: 80.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.5821, allocations: 81.11 kB / 0.5482 GB, free: 80.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.5823, allocations: 269 kB / 0.5485 GB, free: 80.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5823, allocations: 25.7 kB / 0.5485 GB, free: 80.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.5825, allocations: 279.2 kB / 0.5488 GB, free: 80.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.5825, allocations: 94.64 kB / 0.5489 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.5825, allocations: 0 / 0.5489 GB, free: 79.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.5826, allocations: 346.8 kB / 0.5492 GB, free: 79.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.5828, allocations: 144.9 kB / 0.5494 GB, free: 79.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.583, allocations: 306.6 kB / 0.5496 GB, free: 79.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.5833, allocations: 204.3 kB / 0.5498 GB, free: 78.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5833, allocations: 7.953 kB / 0.5498 GB, free: 78.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008574/0.5841, allocations: 0.5646 MB / 0.5504 GB, free: 78.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5842, allocations: 8.688 kB / 0.5504 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005378/0.5847, allocations: 362.5 kB / 0.5508 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.5851, allocations: 113.6 kB / 0.5509 GB, free: 77.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.5853, allocations: 87.81 kB / 0.5509 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.5871, allocations: 2.88 MB / 0.5538 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.5873, allocations: 23.91 kB / 0.5538 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.5874, allocations: 20 kB / 0.5538 GB, free: 74.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/0.5875, allocations: 120.8 kB / 0.5539 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.5875, allocations: 39.59 kB / 0.554 GB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.588, allocations: 357.8 kB / 0.5543 GB, free: 74.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5881, allocations: 4 kB / 0.5543 GB, free: 74.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5881, allocations: 4 kB / 0.5543 GB, free: 74.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5881, allocations: 3.984 kB / 0.5543 GB, free: 74.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.589, allocations: 0.7972 MB / 0.5551 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.589, allocations: 0 / 0.5551 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.5894, allocations: 63.89 kB / 0.5551 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.5894, allocations: 4 kB / 0.5551 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.5894, allocations: 11.94 kB / 0.5552 GB, free: 73.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5894, allocations: 0 / 0.5552 GB, free: 73.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5895, allocations: 0 / 0.5552 GB, free: 73.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.5901, allocations: 0.593 MB / 0.5557 GB, free: 72.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.5902, allocations: 132.7 kB / 0.5559 GB, free: 72.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.5903, allocations: 4 kB / 0.5559 GB, free: 72.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.5904, allocations: 11.94 kB / 0.5559 GB, free: 72.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.5905, allocations: 27.91 kB / 0.5559 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5905, allocations: 8 kB / 0.5559 GB, free: 72.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.5906, allocations: 200.6 kB / 0.5561 GB, free: 72.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5907, allocations: 3.938 kB / 0.5561 GB, free: 72.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.5911, allocations: 107.9 kB / 0.5562 GB, free: 71.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.0001649/0.5913, allocations: 119.2 kB / 0.5563 GB, free: 71.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.592, allocations: 0.5778 MB / 0.5569 GB, free: 71.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.592, allocations: 0 / 0.5569 GB, free: 71.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.5922, allocations: 147.8 kB / 0.557 GB, free: 71.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.5926, allocations: 60.05 kB / 0.5571 GB, free: 71.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.5938, allocations: 0.7779 MB / 0.5578 GB, free: 70.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5941, allocations: 0.8777 MB / 0.5587 GB, free: 69.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000299/0.5944, allocations: 115.2 kB / 0.5588 GB, free: 69.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.5945, allocations: 39.42 kB / 0.5589 GB, free: 69.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5945, allocations: 0 / 0.5589 GB, free: 69.19 MB / 378.7 MB Notification: Performance of Templates: time 0.006656/0.6012, allocations: 3.67 MB / 0.5624 GB, free: 65.54 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)