Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001071, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.00109/0.00109, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.313/1.313, allocations: 222.9 MB / 242.4 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.1748/0.1748, allocations: 38.04 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 67.84 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.304, allocations: 58.05 MB / 0.5048 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005829/0.3099, allocations: 5.971 MB / 0.5106 GB, free: 4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3119, allocations: 1.563 MB / 0.5121 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.3121, allocations: 23.22 kB / 0.5121 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.3126, allocations: 138.5 kB / 0.5123 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.3132, allocations: 372.5 kB / 0.5126 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.3137, allocations: 313.2 kB / 0.5129 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3148, allocations: 1.337 MB / 0.5142 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.3153, allocations: 371.8 kB / 0.5146 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.3159, allocations: 0.5487 MB / 0.5151 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.3166, allocations: 0.5434 MB / 0.5156 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.3168, allocations: 91.78 kB / 0.5157 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.317, allocations: 90.91 kB / 0.5158 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.3173, allocations: 350 kB / 0.5162 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.3177, allocations: 414.3 kB / 0.5166 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3188, allocations: 1.055 MB / 0.5176 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3189, allocations: 0 / 0.5176 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3189, allocations: 0.5938 kB / 0.5176 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.3189, allocations: 0 / 0.5176 GB, free: 0.4922 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00249/0.3214, allocations: 1.22 MB / 0.5188 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3214, allocations: 12.61 kB / 0.5188 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3216, allocations: 83.94 kB / 0.5189 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3229, allocations: 0.6665 MB / 0.5195 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/0.3233, allocations: 335.8 kB / 0.5198 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3234, allocations: 67.5 kB / 0.5199 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.3256, allocations: 1.038 MB / 0.5209 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3257, allocations: 3.938 kB / 0.5209 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.3257, allocations: 30.42 kB / 0.5209 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3258, allocations: 14.19 kB / 0.521 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.3284, allocations: 1.09 MB / 0.522 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.3332, allocations: 3.195 MB / 0.5251 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.3353, allocations: 0.7522 MB / 0.5259 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.3368, allocations: 0.5388 MB / 0.5264 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.3368, allocations: 9.578 kB / 0.5264 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.3383, allocations: 0.6225 MB / 0.527 GB, free: 11.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.3383, allocations: 4 kB / 0.527 GB, free: 11.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003712/0.342, allocations: 1.374 MB / 0.5284 GB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.3421, allocations: 136 kB / 0.5285 GB, free: 10.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.3425, allocations: 392.8 kB / 0.5289 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.3426, allocations: 43.7 kB / 0.5289 GB, free: 10.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3428, allocations: 302.5 kB / 0.5292 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.343, allocations: 176.8 kB / 0.5294 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.3432, allocations: 117.5 kB / 0.5295 GB, free: 9.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3434, allocations: 359.7 kB / 0.5298 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3444, allocations: 458.7 kB / 0.5303 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3455, allocations: 0.5505 MB / 0.5308 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.3474, allocations: 0.8844 MB / 0.5317 GB, free: 8.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3474, allocations: 1.156 kB / 0.5317 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002352/0.3497, allocations: 1.095 MB / 0.5327 GB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.3498, allocations: 57.22 kB / 0.5328 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3498, allocations: 2.75 kB / 0.5328 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3498, allocations: 5.5 kB / 0.5328 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005359/0.3552, allocations: 1.107 MB / 0.5339 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/0.3627, allocations: 4.696 MB / 0.5385 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.3634, allocations: 103.7 kB / 0.5386 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.3635, allocations: 46.03 kB / 0.5386 GB, free: 3.391 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.364, allocations: 246.1 kB / 0.5388 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3641, allocations: 58.59 kB / 0.5389 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.3666, allocations: 0.9843 MB / 0.5399 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.3667, allocations: 1.062 kB / 0.5399 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3667, allocations: 1.188 kB / 0.5399 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.367, allocations: 211.8 kB / 0.5401 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.3671, allocations: 27.36 kB / 0.5401 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.3677, allocations: 87.75 kB / 0.5402 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.368, allocations: 101.7 kB / 0.5403 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007952/0.3759, allocations: 2.416 MB / 0.5426 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003882/0.3798, allocations: 1.884 MB / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001231/0.3811, allocations: 0.5343 MB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.3814, allocations: 271.1 kB / 0.5453 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Backend: time 3.71e-07/0.3814, allocations: 0 / 0.5453 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006596/0.388, allocations: 1.718 MB / 0.5469 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 0.002275/0.3903, allocations: 1.682 MB / 0.5486 GB, free: 11 MB / 414.1 MB Notification: Performance of Templates: time 0.01596/0.4063, allocations: 10.47 MB / 0.5588 GB, free: 0.6016 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1)