Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 110.2 kB / 17.06 MB, free: 5.973 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.00145/0.00145, allocations: 194.8 kB / 18.01 MB, free: 5.055 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.469/1.469, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.182/0.182, allocations: 38.03 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.89 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5174, allocations: 58.05 MB / 0.5041 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005909/0.5234, allocations: 4.496 MB / 0.5085 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.5261, allocations: 1.523 MB / 0.51 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.5264, allocations: 12.72 kB / 0.51 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.5274, allocations: 281.2 kB / 0.5103 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.5283, allocations: 265.3 kB / 0.5105 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.5292, allocations: 262.8 kB / 0.5108 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009216/0.5301, allocations: 0.6351 MB / 0.5114 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.5307, allocations: 292.2 kB / 0.5117 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.5311, allocations: 282.7 kB / 0.5119 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.5318, allocations: 387 kB / 0.5123 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.5319, allocations: 40.75 kB / 0.5123 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.5323, allocations: 157.5 kB / 0.5125 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.5326, allocations: 244.5 kB / 0.5127 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.533, allocations: 273.2 kB / 0.513 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000955/0.5339, allocations: 0.6563 MB / 0.5136 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5339, allocations: 0 / 0.5136 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5339, allocations: 0 / 0.5136 GB, free: 2.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.534, allocations: 0.7969 kB / 0.5136 GB, free: 2.035 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.001862/0.5358, allocations: 0.8951 MB / 0.5145 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5359, allocations: 17.48 kB / 0.5145 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.5365, allocations: 96.25 kB / 0.5146 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.5374, allocations: 0.4951 MB / 0.5151 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.5375, allocations: 30.75 kB / 0.5151 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.5376, allocations: 53.06 kB / 0.5152 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.5388, allocations: 0.6863 MB / 0.5158 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.5388, allocations: 5.656 kB / 0.5158 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.5389, allocations: 21.06 kB / 0.5159 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.539, allocations: 41.98 kB / 0.5159 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.5402, allocations: 0.5281 MB / 0.5164 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.5453, allocations: 3.105 MB / 0.5194 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/0.5462, allocations: 322.4 kB / 0.5198 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.5466, allocations: 179.2 kB / 0.5199 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-05/0.5466, allocations: 7.406 kB / 0.5199 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.5467, allocations: 40.81 kB / 0.52 GB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.5467, allocations: 0 / 0.52 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002563/0.5493, allocations: 1.221 MB / 0.5212 GB, free: 13.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.5493, allocations: 85.97 kB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.55, allocations: 391.4 kB / 0.5216 GB, free: 12.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.55, allocations: 39.17 kB / 0.5217 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.5503, allocations: 311.7 kB / 0.522 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.5504, allocations: 121.6 kB / 0.5221 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.5506, allocations: 99.08 kB / 0.5222 GB, free: 12.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002564/0.5509, allocations: 359.6 kB / 0.5225 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.5513, allocations: 188.1 kB / 0.5227 GB, free: 12.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.5518, allocations: 394.3 kB / 0.5231 GB, free: 11.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/0.5526, allocations: 0.5898 MB / 0.5236 GB, free: 11.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5526, allocations: 3.5 kB / 0.5236 GB, free: 11.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002031/0.5546, allocations: 0.8324 MB / 0.5245 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.5547, allocations: 8.719 kB / 0.5245 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.5547, allocations: 9.906 kB / 0.5245 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.556, allocations: 269.2 kB / 0.5247 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.5567, allocations: 137.9 kB / 0.5249 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.5624, allocations: 4.042 MB / 0.5288 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.5629, allocations: 31.62 kB / 0.5288 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.563, allocations: 26.38 kB / 0.5289 GB, free: 7.707 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004752/0.5634, allocations: 222.5 kB / 0.5291 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5636, allocations: 38.94 kB / 0.5291 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/0.5646, allocations: 487.7 kB / 0.5296 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5646, allocations: 5.188 kB / 0.5296 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5646, allocations: 3.938 kB / 0.5296 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5646, allocations: 2.688 kB / 0.5296 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.5663, allocations: 1.018 MB / 0.5306 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5664, allocations: 0 / 0.5306 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.5668, allocations: 93.38 kB / 0.5307 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5668, allocations: 3.781 kB / 0.5307 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.5668, allocations: 9.328 kB / 0.5307 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5669, allocations: 3.25 kB / 0.5307 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5669, allocations: 1.031 kB / 0.5307 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.5681, allocations: 0.7438 MB / 0.5314 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5682, allocations: 123.9 kB / 0.5315 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.5683, allocations: 14.48 kB / 0.5315 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5685, allocations: 14.83 kB / 0.5316 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.5686, allocations: 24.81 kB / 0.5316 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.5686, allocations: 12.31 kB / 0.5316 GB, free: 6.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003528/0.569, allocations: 271.5 kB / 0.5319 GB, free: 6.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.569, allocations: 0 / 0.5319 GB, free: 6.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006239/0.5696, allocations: 120.9 kB / 0.532 GB, free: 6.078 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001625/0.5698, allocations: 108.9 kB / 0.5321 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.5714, allocations: 0.8024 MB / 0.5329 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5714, allocations: 0 / 0.5329 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.5718, allocations: 206.5 kB / 0.5331 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.5724, allocations: 92.28 kB / 0.5331 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.5758, allocations: 1.485 MB / 0.5346 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.5764, allocations: 0.9002 MB / 0.5355 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.5768, allocations: 129 kB / 0.5356 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.5769, allocations: 33.69 kB / 0.5356 GB, free: 3.547 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.577, allocations: 0 / 0.5356 GB, free: 3.547 MB / 398.1 MB Notification: Performance of Templates: time 0.01376/0.5907, allocations: 6.242 MB / 0.5417 GB, free: 480 kB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)