Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001054/0.001054, allocations: 195 kB / 18 MB, free: 5.074 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.409/1.409, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1698/0.1698, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4255, allocations: 58.06 MB / 0.5041 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007999/0.4336, allocations: 6.677 MB / 0.5106 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.4379, allocations: 2.127 MB / 0.5127 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.4385, allocations: 23.28 kB / 0.5127 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.44, allocations: 0.5075 MB / 0.5132 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.4418, allocations: 0.5624 MB / 0.5138 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.4429, allocations: 343.7 kB / 0.5141 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.4446, allocations: 1.298 MB / 0.5154 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009967/0.4456, allocations: 0.7349 MB / 0.5161 GB, free: 60 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/0.4466, allocations: 0.5442 MB / 0.5166 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.4479, allocations: 0.7344 MB / 0.5173 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.4482, allocations: 105.5 kB / 0.5174 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.4495, allocations: 0.6032 MB / 0.518 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.4501, allocations: 473.1 kB / 0.5185 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.451, allocations: 0.5334 MB / 0.519 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.4535, allocations: 1.54 MB / 0.5205 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4535, allocations: 0 / 0.5205 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4535, allocations: 3.938 kB / 0.5205 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.4535, allocations: 4 kB / 0.5205 GB, free: 14.38 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003473/0.457, allocations: 1.388 MB / 0.5219 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4571, allocations: 13.48 kB / 0.5219 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.4578, allocations: 143.8 kB / 0.522 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.4592, allocations: 0.6942 MB / 0.5227 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4595, allocations: 176.2 kB / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.4597, allocations: 91.89 kB / 0.5229 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.4623, allocations: 1.412 MB / 0.5243 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.4624, allocations: 5.625 kB / 0.5243 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.4625, allocations: 32.22 kB / 0.5243 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002361/0.4627, allocations: 79.14 kB / 0.5244 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.4657, allocations: 1.518 MB / 0.5259 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/0.4728, allocations: 4.43 MB / 0.5302 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.4752, allocations: 1.196 MB / 0.5314 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.4768, allocations: 0.7765 MB / 0.5322 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/0.4769, allocations: 17.42 kB / 0.5322 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.4769, allocations: 47.06 kB / 0.5322 GB, free: 7.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.687e-06/0.4769, allocations: 0 / 0.5322 GB, free: 7.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007828/0.4848, allocations: 3.872 MB / 0.536 GB, free: 5.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.4849, allocations: 86.27 kB / 0.5361 GB, free: 5.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.4854, allocations: 401.8 kB / 0.5365 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/0.4855, allocations: 40.45 kB / 0.5365 GB, free: 5.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.4857, allocations: 350.9 kB / 0.5368 GB, free: 4.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.4861, allocations: 367.7 kB / 0.5372 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.4864, allocations: 165.3 kB / 0.5374 GB, free: 4.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.4866, allocations: 377.1 kB / 0.5377 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.4877, allocations: 0.5914 MB / 0.5383 GB, free: 3.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4889, allocations: 0.7432 MB / 0.539 GB, free: 3.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.4912, allocations: 1.389 MB / 0.5404 GB, free: 2.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4913, allocations: 5.312 kB / 0.5404 GB, free: 2.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002815/0.4941, allocations: 1.596 MB / 0.5419 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4941, allocations: 8 kB / 0.5419 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4941, allocations: 8.188 kB / 0.5419 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.4943, allocations: 40.78 kB / 0.542 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.4968, allocations: 0.4915 MB / 0.5425 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/0.5036, allocations: 6.69 MB / 0.549 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.5045, allocations: 87.83 kB / 0.5491 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.5047, allocations: 35.98 kB / 0.5491 GB, free: 9.379 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006937/0.5054, allocations: 317.5 kB / 0.5494 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.5056, allocations: 75.62 kB / 0.5495 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.5085, allocations: 1.592 MB / 0.551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.829e-05/0.5085, allocations: 23.98 kB / 0.5511 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5085, allocations: 0 / 0.5511 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5086, allocations: 7.969 kB / 0.5511 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.5132, allocations: 2.873 MB / 0.5539 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5133, allocations: 0 / 0.5539 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002762/0.516, allocations: 0.5346 MB / 0.5544 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.5162, allocations: 36.83 kB / 0.5544 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.5163, allocations: 24 kB / 0.5545 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.5175, allocations: 1.634 MB / 0.5561 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5176, allocations: 8.125 kB / 0.5561 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/0.5216, allocations: 2.539 MB / 0.5585 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.522, allocations: 140.6 kB / 0.5587 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5221, allocations: 20 kB / 0.5587 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.5227, allocations: 75.91 kB / 0.5588 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.5229, allocations: 72.48 kB / 0.5588 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/0.523, allocations: 31.98 kB / 0.5589 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.5234, allocations: 279.1 kB / 0.5591 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5234, allocations: 3.938 kB / 0.5591 GB, free: 14.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001112/0.5245, allocations: 240 kB / 0.5594 GB, free: 14.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003576/0.5249, allocations: 174.9 kB / 0.5595 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004529/0.5294, allocations: 1.829 MB / 0.5613 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5294, allocations: 0.5625 kB / 0.5613 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.5324, allocations: 1.201 MB / 0.5625 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5335, allocations: 153.6 kB / 0.5626 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.5386, allocations: 2.616 MB / 0.5652 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.5393, allocations: 1.08 MB / 0.5663 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008717/0.5402, allocations: 265.6 kB / 0.5665 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5404, allocations: 63.42 kB / 0.5666 GB, free: 7.031 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5405, allocations: 0 / 0.5666 GB, free: 7.031 MB / 430.1 MB Notification: Performance of Templates: time 0.01905/0.5595, allocations: 11.11 MB / 0.5774 GB, free: 12 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)