Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 110.2 kB / 17.75 MB, free: 5.344 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.001138/0.001138, allocations: 185.4 kB / 18.68 MB, free: 4.418 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.176/0.176, allocations: 38.03 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2867, allocations: 58.06 MB / 0.5048 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006379/0.2931, allocations: 6.934 MB / 0.5115 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2959, allocations: 2.025 MB / 0.5135 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.2961, allocations: 29.62 kB / 0.5135 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.2973, allocations: 0.4934 MB / 0.514 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2983, allocations: 0.5651 MB / 0.5146 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.2991, allocations: 393.8 kB / 0.515 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3004, allocations: 1.397 MB / 0.5163 GB, free: 232 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/0.3013, allocations: 0.8217 MB / 0.5171 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009478/0.3023, allocations: 0.6471 MB / 0.5178 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.3033, allocations: 0.6752 MB / 0.5184 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.3035, allocations: 97.78 kB / 0.5185 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009169/0.3045, allocations: 0.5156 MB / 0.519 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005388/0.305, allocations: 0.4967 MB / 0.5195 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005952/0.3056, allocations: 0.5607 MB / 0.52 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.3074, allocations: 1.545 MB / 0.5216 GB, free: 14.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3074, allocations: 0 / 0.5216 GB, free: 14.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3074, allocations: 0 / 0.5216 GB, free: 14.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.3075, allocations: 1.375 kB / 0.5216 GB, free: 14.12 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003291/0.3108, allocations: 1.603 MB / 0.5231 GB, free: 13.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3108, allocations: 12.11 kB / 0.5231 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.3116, allocations: 164.9 kB / 0.5233 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3129, allocations: 0.7365 MB / 0.524 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.3131, allocations: 169.7 kB / 0.5242 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.3134, allocations: 115.2 kB / 0.5243 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.3162, allocations: 1.523 MB / 0.5258 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.3162, allocations: 6.453 kB / 0.5258 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.3163, allocations: 43.14 kB / 0.5258 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.3165, allocations: 66.39 kB / 0.5259 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.3188, allocations: 1.167 MB / 0.527 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/0.3251, allocations: 4.783 MB / 0.5317 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.3279, allocations: 1.128 MB / 0.5328 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.3292, allocations: 0.5655 MB / 0.5333 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.3293, allocations: 12.27 kB / 0.5334 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.3307, allocations: 0.7188 MB / 0.5341 GB, free: 6.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=80): time 3.176e-06/0.3307, allocations: 0 / 0.5341 GB, free: 6.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.007128/0.3378, allocations: 3.215 MB / 0.5372 GB, free: 4.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.3379, allocations: 125.5 kB / 0.5373 GB, free: 4.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.3388, allocations: 0.5861 MB / 0.5379 GB, free: 3.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.3389, allocations: 60.55 kB / 0.5379 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.3393, allocations: 461 kB / 0.5384 GB, free: 3.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.3395, allocations: 284.3 kB / 0.5387 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.3398, allocations: 204.8 kB / 0.5389 GB, free: 3.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.34, allocations: 396.5 kB / 0.5392 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.3407, allocations: 480.7 kB / 0.5397 GB, free: 2.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009472/0.3417, allocations: 0.7502 MB / 0.5404 GB, free: 1.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.3433, allocations: 1.256 MB / 0.5416 GB, free: 1.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3434, allocations: 2.75 kB / 0.5417 GB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002416/0.3458, allocations: 1.58 MB / 0.5432 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.868e-05/0.3459, allocations: 67.8 kB / 0.5433 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001864/0.3477, allocations: 1.33 MB / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.3481, allocations: 117.6 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.3489, allocations: 203.6 kB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.3516, allocations: 3.361 MB / 0.5481 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.3523, allocations: 71.92 kB / 0.5482 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3524, allocations: 83.97 kB / 0.5483 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005539/0.353, allocations: 377.4 kB / 0.5487 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3531, allocations: 83.42 kB / 0.5487 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.3558, allocations: 1.266 MB / 0.55 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3558, allocations: 7.984 kB / 0.55 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3558, allocations: 0 / 0.55 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.3562, allocations: 244.5 kB / 0.5502 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.3564, allocations: 83.89 kB / 0.5503 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.357, allocations: 95.86 kB / 0.5504 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3572, allocations: 56.56 kB / 0.5504 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003173/0.3604, allocations: 1.459 MB / 0.5519 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003632/0.364, allocations: 2.046 MB / 0.5539 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001073/0.3651, allocations: 0.5285 MB / 0.5544 GB, free: 4.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000437/0.3655, allocations: 402.8 kB / 0.5548 GB, free: 4.172 MB / 414.1 MB Notification: Performance of Backend: time 2.41e-07/0.3655, allocations: 0 / 0.5548 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.368, allocations: 1.375 MB / 0.5561 GB, free: 2.758 MB / 414.1 MB Notification: Performance of SimCode: time 0.003172/0.3712, allocations: 2.49 MB / 0.5585 GB, free: 220 kB / 414.1 MB Notification: Performance of Templates: time 0.021/0.3922, allocations: 14.06 MB / 0.5723 GB, free: 2.242 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1)