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.001731/0.001731, allocations: 182 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.717/1.717, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001664/0.001664, allocations: 126.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.172/0.172, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.532e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3263, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.7398, allocations: 96.91 MB / 0.5348 GB, free: 32.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.7402, allocations: 87.39 kB / 0.5349 GB, free: 32.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03897/0.7791, allocations: 14.6 MB / 0.5492 GB, free: 30.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7792, allocations: 0 / 0.5492 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.188e-05/0.7793, allocations: 11.62 kB / 0.5492 GB, free: 30.71 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.001287/0.7806, allocations: 0.6644 MB / 0.5498 GB, free: 30.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7806, allocations: 11.72 kB / 0.5498 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.7812, allocations: 91.66 kB / 0.5499 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.7831, allocations: 0.842 MB / 0.5508 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.7831, allocations: 30.8 kB / 0.5508 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.7832, allocations: 44 kB / 0.5508 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.784, allocations: 0.6332 MB / 0.5514 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.784, allocations: 6.984 kB / 0.5515 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.7841, allocations: 19 kB / 0.5515 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.7842, allocations: 38.11 kB / 0.5515 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.7848, allocations: 456.3 kB / 0.5519 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.7872, allocations: 3.032 MB / 0.5549 GB, free: 27.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.7876, allocations: 257 kB / 0.5552 GB, free: 27.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.7878, allocations: 142 kB / 0.5553 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/0.7878, allocations: 7.109 kB / 0.5553 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.7878, allocations: 38.19 kB / 0.5553 GB, free: 27.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.344e-06/0.7878, allocations: 0 / 0.5553 GB, free: 27.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001279/0.7891, allocations: 0.9006 MB / 0.5562 GB, free: 27.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7892, allocations: 85.02 kB / 0.5563 GB, free: 26.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.7895, allocations: 274.7 kB / 0.5566 GB, free: 26.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.7895, allocations: 33.05 kB / 0.5566 GB, free: 26.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.7896, allocations: 284.4 kB / 0.5569 GB, free: 26.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.7897, allocations: 102.4 kB / 0.557 GB, free: 26.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.7897, allocations: 14.69 kB / 0.557 GB, free: 26.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.7898, allocations: 349.4 kB / 0.5573 GB, free: 26.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.79, allocations: 144.8 kB / 0.5574 GB, free: 26.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.7903, allocations: 320.2 kB / 0.5577 GB, free: 26.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.7905, allocations: 206.9 kB / 0.5579 GB, free: 26.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7905, allocations: 3.906 kB / 0.5579 GB, free: 26.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008967/0.7914, allocations: 0.6093 MB / 0.5585 GB, free: 25.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7915, allocations: 7.906 kB / 0.5585 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000571/0.792, allocations: 373.3 kB / 0.5589 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.7925, allocations: 123 kB / 0.559 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.7928, allocations: 85.31 kB / 0.5591 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.7948, allocations: 3.009 MB / 0.562 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.7951, allocations: 26.48 kB / 0.5621 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.7952, allocations: 23.27 kB / 0.5621 GB, free: 23.31 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 9.883e-05/0.7953, allocations: 139.1 kB / 0.5622 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.7953, allocations: 31.16 kB / 0.5622 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/0.7959, allocations: 372.2 kB / 0.5626 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7959, allocations: 15.36 kB / 0.5626 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.7959, allocations: 4 kB / 0.5626 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7959, allocations: 0 / 0.5626 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.7971, allocations: 0.8675 MB / 0.5635 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7971, allocations: 3.906 kB / 0.5635 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.7974, allocations: 65.28 kB / 0.5635 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7975, allocations: 3.969 kB / 0.5635 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.7975, allocations: 11.62 kB / 0.5636 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7975, allocations: 7.953 kB / 0.5636 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.7975, allocations: 3.938 kB / 0.5636 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.7982, allocations: 0.615 MB / 0.5642 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.7983, allocations: 126.4 kB / 0.5643 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.7984, allocations: 7.594 kB / 0.5643 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.7985, allocations: 18.22 kB / 0.5643 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.7986, allocations: 18.31 kB / 0.5643 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.7986, allocations: 11.44 kB / 0.5643 GB, free: 22.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.7988, allocations: 216.1 kB / 0.5645 GB, free: 22.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7988, allocations: 0 / 0.5645 GB, free: 22.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006004/0.7995, allocations: 132.4 kB / 0.5647 GB, free: 22.32 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.0002401/0.7997, allocations: 125.3 kB / 0.5648 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008425/0.8006, allocations: 0.6133 MB / 0.5654 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8006, allocations: 0 / 0.5654 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.8007, allocations: 148.4 kB / 0.5655 GB, free: 21.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.8011, allocations: 62.12 kB / 0.5656 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.8022, allocations: 0.7921 MB / 0.5664 GB, free: 21.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8025, allocations: 0.8835 MB / 0.5672 GB, free: 20.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.8028, allocations: 110.4 kB / 0.5673 GB, free: 20.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.8029, allocations: 30.69 kB / 0.5674 GB, free: 20.88 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.8029, allocations: 0 / 0.5674 GB, free: 20.88 MB / 378.7 MB Notification: Performance of Templates: time 0.007251/0.8101, allocations: 3.824 MB / 0.5711 GB, free: 20.6 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)