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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001467/0.001467, allocations: 109.3 kB / 17.74 MB, free: 5.355 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.001683/0.001683, allocations: 186.4 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1752/0.1752, allocations: 37.98 MB / 309.9 MB, free: 5.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 67.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09239, allocations: 55.25 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.008787/0.1012, allocations: 6.925 MB / 494.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.1049, allocations: 2.073 MB / 496.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.1055, allocations: 27.81 kB / 496.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1069, allocations: 0.4899 MB / 497.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.1085, allocations: 0.556 MB / 497.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1095, allocations: 399.2 kB / 498.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.1112, allocations: 1.403 MB / 499.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009525/0.1121, allocations: 0.8185 MB / 0.4887 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008004/0.1129, allocations: 0.6306 MB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008752/0.1138, allocations: 0.6853 MB / 0.49 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.114, allocations: 96 kB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007722/0.1148, allocations: 0.5188 MB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.1152, allocations: 0.5027 MB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.1158, allocations: 0.5638 MB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1172, allocations: 1.531 MB / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1172, allocations: 0 / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1172, allocations: 0 / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1172, allocations: 0 / 0.4932 GB, free: 7.047 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002776/0.12, allocations: 1.571 MB / 0.4947 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1201, allocations: 11.89 kB / 0.4947 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.1208, allocations: 163.5 kB / 0.4949 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1222, allocations: 0.7254 MB / 0.4956 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.1223, allocations: 179.6 kB / 0.4957 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.1226, allocations: 111.8 kB / 0.4959 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.1251, allocations: 1.532 MB / 0.4974 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.1251, allocations: 3.938 kB / 0.4974 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1252, allocations: 43.97 kB / 0.4974 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.1254, allocations: 69.97 kB / 0.4975 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.1275, allocations: 1.159 MB / 0.4986 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.1332, allocations: 4.777 MB / 0.5033 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.1359, allocations: 1.125 MB / 0.5044 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.1371, allocations: 0.554 MB / 0.5049 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.1372, allocations: 12.56 kB / 0.5049 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.1385, allocations: 0.7144 MB / 0.5056 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=80): time 2.806e-06/0.1385, allocations: 4 kB / 0.5056 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.006681/0.1452, allocations: 3.193 MB / 0.5087 GB, free: 6.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.1453, allocations: 123.5 kB / 0.5088 GB, free: 6.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.1459, allocations: 0.5925 MB / 0.5094 GB, free: 5.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.146, allocations: 53.69 kB / 0.5095 GB, free: 5.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.1463, allocations: 447.1 kB / 0.5099 GB, free: 5.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.1465, allocations: 280.2 kB / 0.5102 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.1468, allocations: 198.4 kB / 0.5104 GB, free: 4.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.147, allocations: 402.7 kB / 0.5107 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.1477, allocations: 482 kB / 0.5112 GB, free: 3.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.1485, allocations: 0.7382 MB / 0.5119 GB, free: 3.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.15, allocations: 1.257 MB / 0.5132 GB, free: 1.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.15, allocations: 7.984 kB / 0.5132 GB, free: 1.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002398/0.1524, allocations: 1.576 MB / 0.5147 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.1525, allocations: 61.67 kB / 0.5148 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001918/0.1544, allocations: 1.332 MB / 0.5161 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.1549, allocations: 113.6 kB / 0.5162 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.1556, allocations: 203.5 kB / 0.5164 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.1586, allocations: 3.361 MB / 0.5196 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.1594, allocations: 75.92 kB / 0.5197 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.1595, allocations: 79.88 kB / 0.5198 GB, free: 10.59 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.0005838/0.1601, allocations: 377.5 kB / 0.5202 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.1603, allocations: 79 kB / 0.5202 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.163, allocations: 1.274 MB / 0.5215 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.163, allocations: 3.984 kB / 0.5215 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.163, allocations: 0 / 0.5215 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.1635, allocations: 248 kB / 0.5217 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.1637, allocations: 79.89 kB / 0.5218 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.1643, allocations: 95.86 kB / 0.5219 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.1645, allocations: 56.56 kB / 0.5219 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003262/0.1678, allocations: 1.455 MB / 0.5234 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003762/0.1715, allocations: 2.046 MB / 0.5254 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001148/0.1727, allocations: 0.5246 MB / 0.5259 GB, free: 4.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.1733, allocations: 402.8 kB / 0.5263 GB, free: 3.883 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.1733, allocations: 0 / 0.5263 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.176, allocations: 1.387 MB / 0.5276 GB, free: 2.449 MB / 414.1 MB Notification: Performance of SimCode: time 0.1931/0.3691, allocations: 2.446 MB / 0.53 GB, free: 51.63 MB / 414.1 MB Notification: Performance of Templates: time 0.02727/0.3965, allocations: 14.06 MB / 0.5437 GB, free: 48.49 MB / 414.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)