Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 107 kB / 17.74 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.001736/0.001736, allocations: 186.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.356/1.356, 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.1811/0.1811, allocations: 38.02 MB / 330.6 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.89 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.307, allocations: 58.05 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006265/0.3133, allocations: 6.498 MB / 0.5111 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3152, allocations: 1.314 MB / 0.5124 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.3154, allocations: 24.22 kB / 0.5124 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3157, allocations: 125.8 kB / 0.5125 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.3165, allocations: 428.6 kB / 0.513 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.317, allocations: 231 kB / 0.5132 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.318, allocations: 1.124 MB / 0.5143 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.3184, allocations: 411.3 kB / 0.5147 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.319, allocations: 0.511 MB / 0.5152 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006994/0.3197, allocations: 0.5213 MB / 0.5157 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3198, allocations: 64.91 kB / 0.5157 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.32, allocations: 65.66 kB / 0.5158 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.3203, allocations: 337 kB / 0.5161 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.3207, allocations: 397 kB / 0.5165 GB, free: 408 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3217, allocations: 0.924 MB / 0.5174 GB, free: 40 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3217, allocations: 0 / 0.5174 GB, free: 40 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3217, allocations: 4 kB / 0.5174 GB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.3217, allocations: 1.25 kB / 0.5174 GB, free: 36 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002147/0.3239, allocations: 1.167 MB / 0.5185 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3239, allocations: 12.61 kB / 0.5186 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3241, allocations: 89 kB / 0.5186 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.3251, allocations: 0.6144 MB / 0.5192 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.3252, allocations: 118.9 kB / 0.5194 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3254, allocations: 63.48 kB / 0.5194 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.3269, allocations: 0.8732 MB / 0.5203 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3269, allocations: 1.062 kB / 0.5203 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.327, allocations: 30.72 kB / 0.5203 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.3271, allocations: 38.38 kB / 0.5203 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.3283, allocations: 0.6202 MB / 0.5209 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.332, allocations: 2.743 MB / 0.5236 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.3337, allocations: 0.9005 MB / 0.5245 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.3344, allocations: 317.6 kB / 0.5248 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3344, allocations: 4.453 kB / 0.5248 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007176/0.3352, allocations: 352.2 kB / 0.5251 GB, free: 11.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.555e-06/0.3352, allocations: 0 / 0.5251 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.00407/0.3393, allocations: 1.992 MB / 0.5271 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.3393, allocations: 119.2 kB / 0.5272 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.3399, allocations: 0.5114 MB / 0.5277 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.34, allocations: 40.44 kB / 0.5277 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3402, allocations: 365.8 kB / 0.5281 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3404, allocations: 147.8 kB / 0.5282 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3405, allocations: 121.1 kB / 0.5283 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3407, allocations: 372.4 kB / 0.5287 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.3411, allocations: 223.8 kB / 0.5289 GB, free: 8.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.3415, allocations: 389.6 kB / 0.5293 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.3423, allocations: 0.6223 MB / 0.5299 GB, free: 8.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3423, allocations: 1.188 kB / 0.5299 GB, free: 8.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001249/0.3436, allocations: 0.9015 MB / 0.5308 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.3436, allocations: 51.47 kB / 0.5308 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3436, allocations: 3.562 kB / 0.5308 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.3439, allocations: 90.73 kB / 0.5309 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.3443, allocations: 104.3 kB / 0.531 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.3469, allocations: 3.264 MB / 0.5342 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.3472, allocations: 36.22 kB / 0.5342 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.3473, allocations: 41.33 kB / 0.5343 GB, free: 4.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.3476, allocations: 270.1 kB / 0.5345 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.3477, allocations: 58.28 kB / 0.5346 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3491, allocations: 0.7062 MB / 0.5353 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.3491, allocations: 3.984 kB / 0.5353 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3492, allocations: 1.188 kB / 0.5353 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.3494, allocations: 181.3 kB / 0.5355 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3495, allocations: 27.45 kB / 0.5355 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.3498, allocations: 43.11 kB / 0.5355 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.3499, allocations: 31.55 kB / 0.5355 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001732/0.3517, allocations: 0.8808 MB / 0.5364 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001833/0.3535, allocations: 1.131 MB / 0.5375 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005175/0.354, allocations: 245.4 kB / 0.5377 GB, free: 2.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.3544, allocations: 351.3 kB / 0.5381 GB, free: 2.023 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3544, allocations: 0 / 0.5381 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.356, allocations: 0.795 MB / 0.5389 GB, free: 1.441 MB / 398.1 MB Notification: Performance of SimCode: time 0.002548/0.3585, allocations: 1.914 MB / 0.5407 GB, free: 28 kB / 398.1 MB Notification: Performance of Templates: time 0.01543/0.374, allocations: 7.956 MB / 0.5485 GB, free: 10.73 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1)