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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110.5 kB / 17.75 MB, free: 5.305 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.001285/0.001285, allocations: 191 kB / 18.68 MB, free: 4.383 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.325/1.325, allocations: 222.9 MB / 242.4 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.1726/0.1726, allocations: 38.03 MB / 330.6 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.88 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3218, allocations: 58.06 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.009251/0.3311, allocations: 4.581 MB / 0.5092 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.3349, allocations: 1.467 MB / 0.5107 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.3353, allocations: 11.84 kB / 0.5107 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.3368, allocations: 390.9 kB / 0.5111 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000915/0.3378, allocations: 229.5 kB / 0.5113 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3389, allocations: 256.9 kB / 0.5115 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.34, allocations: 0.5547 MB / 0.5121 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007825/0.3408, allocations: 338 kB / 0.5124 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/0.3415, allocations: 262.6 kB / 0.5126 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008713/0.3424, allocations: 317.5 kB / 0.5129 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.3426, allocations: 34.41 kB / 0.513 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.3431, allocations: 141.6 kB / 0.5131 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.3436, allocations: 233.8 kB / 0.5133 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.3441, allocations: 249.3 kB / 0.5136 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3454, allocations: 0.5978 MB / 0.5141 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3454, allocations: 1.188 kB / 0.5141 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3454, allocations: 0 / 0.5141 GB, free: 2.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.36e-05/0.3454, allocations: 0 / 0.5141 GB, free: 2.012 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002266/0.3477, allocations: 0.7833 MB / 0.5149 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3478, allocations: 12.73 kB / 0.5149 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3489, allocations: 96.98 kB / 0.515 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3499, allocations: 418.8 kB / 0.5154 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.35, allocations: 37.8 kB / 0.5155 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.3502, allocations: 52.47 kB / 0.5155 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3517, allocations: 0.6449 MB / 0.5161 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.3518, allocations: 6 kB / 0.5161 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.3519, allocations: 26.06 kB / 0.5162 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.3521, allocations: 28.97 kB / 0.5162 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.3535, allocations: 480.4 kB / 0.5166 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.3594, allocations: 3.021 MB / 0.5196 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.3599, allocations: 181.1 kB / 0.5198 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.3602, allocations: 102.8 kB / 0.5199 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.3603, allocations: 4.547 kB / 0.5199 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.3604, allocations: 44.38 kB / 0.5199 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 3.466e-06/0.3604, allocations: 0 / 0.5199 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.002407/0.3628, allocations: 0.8479 MB / 0.5207 GB, free: 13.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3629, allocations: 80.58 kB / 0.5208 GB, free: 13.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.3635, allocations: 348.4 kB / 0.5212 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3636, allocations: 30.86 kB / 0.5212 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.3639, allocations: 313.4 kB / 0.5215 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3641, allocations: 77.48 kB / 0.5216 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3643, allocations: 85.64 kB / 0.5216 GB, free: 12.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.3645, allocations: 346.8 kB / 0.522 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.3649, allocations: 125 kB / 0.5221 GB, free: 12.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.3655, allocations: 330.4 kB / 0.5224 GB, free: 12.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3666, allocations: 0.504 MB / 0.5229 GB, free: 11.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3667, allocations: 2.219 kB / 0.5229 GB, free: 11.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00187/0.3685, allocations: 0.5567 MB / 0.5234 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3686, allocations: 7.906 kB / 0.5234 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009963/0.3696, allocations: 278.5 kB / 0.5237 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/0.3702, allocations: 87.92 kB / 0.5238 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.3709, allocations: 93.34 kB / 0.5239 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.3737, allocations: 1.73 MB / 0.5256 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.3742, allocations: 23.78 kB / 0.5256 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.3743, allocations: 20.73 kB / 0.5256 GB, free: 9.719 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.3748, allocations: 219.5 kB / 0.5258 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3749, allocations: 35.83 kB / 0.5259 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.3755, allocations: 292 kB / 0.5261 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3755, allocations: 2.359 kB / 0.5261 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3755, allocations: 1.281 kB / 0.5261 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.3756, allocations: 107.2 kB / 0.5262 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.3757, allocations: 6.531 kB / 0.5263 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.3758, allocations: 13.95 kB / 0.5263 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3759, allocations: 12.91 kB / 0.5263 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007324/0.3766, allocations: 458.1 kB / 0.5267 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006861/0.3773, allocations: 0.6287 MB / 0.5273 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001675/0.3775, allocations: 110 kB / 0.5274 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.3778, allocations: 236 kB / 0.5277 GB, free: 8.445 MB / 398.1 MB Notification: Performance of Backend: time 4.8e-07/0.3778, allocations: 0 / 0.5277 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.379, allocations: 0.5012 MB / 0.5281 GB, free: 8.168 MB / 398.1 MB Notification: Performance of SimCode: time 0.00188/0.3809, allocations: 1.403 MB / 0.5295 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Templates: time 0.0109/0.3918, allocations: 4.712 MB / 0.5341 GB, free: 5.598 MB / 398.1 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)