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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 110.2 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 198.8 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1921/0.1921, allocations: 38.03 MB / 329.9 MB, free: 8.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 59.91 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4815, allocations: 58.06 MB / 0.5041 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.008455/0.4901, allocations: 4.563 MB / 0.5085 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.4935, allocations: 1.555 MB / 0.5101 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.4939, allocations: 16.09 kB / 0.5101 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009738/0.4949, allocations: 287.2 kB / 0.5104 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.4955, allocations: 271.8 kB / 0.5106 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.4963, allocations: 259.4 kB / 0.5109 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.4972, allocations: 0.605 MB / 0.5115 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006432/0.4979, allocations: 259 kB / 0.5117 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.4984, allocations: 262.1 kB / 0.512 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007797/0.4992, allocations: 332.3 kB / 0.5123 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.4993, allocations: 34.25 kB / 0.5123 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.4997, allocations: 136.3 kB / 0.5124 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.5001, allocations: 222.5 kB / 0.5126 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.5005, allocations: 247.5 kB / 0.5129 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.5018, allocations: 0.5993 MB / 0.5135 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.5018, allocations: 1.734 kB / 0.5135 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5018, allocations: 4 kB / 0.5135 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.5018, allocations: 0 / 0.5135 GB, free: 2.047 MB / 382.1 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.00189/0.5037, allocations: 0.7816 MB / 0.5142 GB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5038, allocations: 15.25 kB / 0.5142 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006856/0.5045, allocations: 93.89 kB / 0.5143 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.5051, allocations: 423.3 kB / 0.5147 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.5052, allocations: 37.61 kB / 0.5148 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.5053, allocations: 49.88 kB / 0.5148 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5065, allocations: 0.6622 MB / 0.5155 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.5066, allocations: 1.594 kB / 0.5155 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.5066, allocations: 22.02 kB / 0.5155 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.5068, allocations: 50.27 kB / 0.5155 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.5079, allocations: 497.8 kB / 0.516 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004133/0.512, allocations: 3.155 MB / 0.5191 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.5126, allocations: 242.2 kB / 0.5193 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.5128, allocations: 120.6 kB / 0.5194 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.5129, allocations: 7.828 kB / 0.5194 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5129, allocations: 36.61 kB / 0.5195 GB, free: 13.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.5129, allocations: 1.312 kB / 0.5195 GB, free: 13.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001737/0.5146, allocations: 0.9056 MB / 0.5204 GB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/0.5147, allocations: 85.39 kB / 0.5205 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.5152, allocations: 331.7 kB / 0.5208 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.5152, allocations: 31.11 kB / 0.5208 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.5155, allocations: 294.2 kB / 0.5211 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.5156, allocations: 95.62 kB / 0.5212 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.5157, allocations: 89.8 kB / 0.5213 GB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5159, allocations: 351 kB / 0.5216 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.5162, allocations: 133.7 kB / 0.5217 GB, free: 12.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.5166, allocations: 326 kB / 0.522 GB, free: 11.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.5173, allocations: 498.4 kB / 0.5225 GB, free: 11.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5173, allocations: 2.125 kB / 0.5225 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001192/0.5185, allocations: 0.5867 MB / 0.5231 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5185, allocations: 8.812 kB / 0.5231 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006769/0.5192, allocations: 340.5 kB / 0.5234 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.5197, allocations: 114.9 kB / 0.5235 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.52, allocations: 90.44 kB / 0.5236 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.5232, allocations: 3.281 MB / 0.5268 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.5236, allocations: 20.41 kB / 0.5268 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.5236, allocations: 26.11 kB / 0.5269 GB, free: 8.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.524, allocations: 216.1 kB / 0.5271 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.524, allocations: 35.73 kB / 0.5271 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.5247, allocations: 312.2 kB / 0.5274 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5247, allocations: 3.438 kB / 0.5274 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5247, allocations: 4.938 kB / 0.5274 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5247, allocations: 2.531 kB / 0.5274 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.5261, allocations: 0.8115 MB / 0.5282 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5261, allocations: 1.188 kB / 0.5282 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.5264, allocations: 61.89 kB / 0.5283 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-06/0.5264, allocations: 7.969 kB / 0.5283 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.5265, allocations: 11.7 kB / 0.5283 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.5265, allocations: 3.234 kB / 0.5283 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5265, allocations: 1.25 kB / 0.5283 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.5272, allocations: 0.4994 MB / 0.5288 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.5274, allocations: 134.2 kB / 0.5289 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.5275, allocations: 8.406 kB / 0.5289 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.5276, allocations: 10.89 kB / 0.5289 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.5277, allocations: 17.88 kB / 0.5289 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.5277, allocations: 11.25 kB / 0.5289 GB, free: 6.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.528, allocations: 222.7 kB / 0.5292 GB, free: 6.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.528, allocations: 0 / 0.5292 GB, free: 6.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.5286, allocations: 98.94 kB / 0.5292 GB, free: 6.684 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.5287, allocations: 104.2 kB / 0.5293 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009721/0.5297, allocations: 0.5801 MB / 0.5299 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5297, allocations: 1.406 kB / 0.5299 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.5299, allocations: 128.9 kB / 0.53 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.5305, allocations: 71.03 kB / 0.5301 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5322, allocations: 1.009 MB / 0.5311 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.5328, allocations: 0.8755 MB / 0.5319 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003175/0.5331, allocations: 110.5 kB / 0.5321 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.5332, allocations: 32.5 kB / 0.5321 GB, free: 4.82 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.5332, allocations: 0 / 0.5321 GB, free: 4.82 MB / 398.1 MB Notification: Performance of Templates: time 0.01068/0.5439, allocations: 3.887 MB / 0.5359 GB, free: 3.402 MB / 398.1 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)