Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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 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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 106.2 kB / 17.74 MB, free: 5.336 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.001144/0.001144, allocations: 196.2 kB / 18.68 MB, free: 4.41 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.328/1.328, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1739/0.1739, allocations: 37.98 MB / 309.9 MB, free: 5.945 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.002678/0.002678, allocations: 75.89 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1113, allocations: 55.24 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.007431/0.1188, allocations: 6.481 MB / 494.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.1227, allocations: 2.482 MB / 496.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.1231, allocations: 23.88 kB / 496.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.1243, allocations: 445.8 kB / 497.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1255, allocations: 0.5912 MB / 497.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1265, allocations: 483.1 kB / 498.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.1282, allocations: 1.961 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009911/0.1293, allocations: 0.8649 MB / 0.4894 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009698/0.1302, allocations: 0.7907 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1314, allocations: 0.9663 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.1317, allocations: 160 kB / 0.4912 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1327, allocations: 0.6437 MB / 0.4919 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006192/0.1334, allocations: 0.6393 MB / 0.4925 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.1341, allocations: 0.6808 MB / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.136, allocations: 2.049 MB / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.136, allocations: 0 / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.136, allocations: 0 / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.136, allocations: 4 kB / 0.4951 GB, free: 5.012 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004576/0.1406, allocations: 1.908 MB / 0.497 GB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1407, allocations: 11.89 kB / 0.497 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.1414, allocations: 163.5 kB / 0.4972 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.1438, allocations: 0.9596 MB / 0.4981 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005958/0.1444, allocations: 0.5067 MB / 0.4986 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.1447, allocations: 99.92 kB / 0.4987 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.1486, allocations: 2.015 MB / 0.5007 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.1486, allocations: 0 / 0.5007 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.1488, allocations: 35.94 kB / 0.5007 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/0.149, allocations: 97.94 kB / 0.5008 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004856/0.1539, allocations: 2.236 MB / 0.503 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009507/0.1634, allocations: 5.667 MB / 0.5085 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004634/0.1681, allocations: 1.793 MB / 0.5103 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.1706, allocations: 1.148 MB / 0.5114 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.858e-05/0.1708, allocations: 20.97 kB / 0.5114 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00276/0.1735, allocations: 1.391 MB / 0.5128 GB, free: 2.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=123): time 3.817e-06/0.1735, allocations: 0 / 0.5128 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.01341/0.187, allocations: 5.626 MB / 0.5183 GB, free: 12.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.187, allocations: 102.1 kB / 0.5184 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.1877, allocations: 497.9 kB / 0.5188 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.1878, allocations: 61.69 kB / 0.5189 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.1881, allocations: 364.7 kB / 0.5192 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.1885, allocations: 414.1 kB / 0.5196 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.1889, allocations: 226.8 kB / 0.5199 GB, free: 11.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1891, allocations: 394.8 kB / 0.5202 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.1911, allocations: 1.025 MB / 0.5212 GB, free: 9.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.1932, allocations: 1.172 MB / 0.5224 GB, free: 8.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/0.1971, allocations: 2.043 MB / 0.5244 GB, free: 6.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1971, allocations: 0 / 0.5244 GB, free: 6.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01097/0.2081, allocations: 3.903 MB / 0.5282 GB, free: 2.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.212e-05/0.2082, allocations: 61.75 kB / 0.5282 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.2082, allocations: 4 kB / 0.5282 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/0.2144, allocations: 2.081 MB / 0.5303 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.2154, allocations: 183.7 kB / 0.5305 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2213/0.4367, allocations: 11.3 MB / 0.5415 GB, free: 48.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4381, allocations: 170.8 kB / 0.5416 GB, free: 48.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.4383, allocations: 73.31 kB / 0.5417 GB, free: 48.68 MB / 414.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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],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,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006192/0.4389, allocations: 380.8 kB / 0.5421 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.4391, allocations: 82.77 kB / 0.5422 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005214/0.4444, allocations: 2.351 MB / 0.5445 GB, free: 47.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4444, allocations: 5.906 kB / 0.5445 GB, free: 47.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4444, allocations: 1.312 kB / 0.5445 GB, free: 47.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/0.4451, allocations: 350.9 kB / 0.5448 GB, free: 47.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.4454, allocations: 85.61 kB / 0.5449 GB, free: 47.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.4467, allocations: 193.2 kB / 0.5451 GB, free: 47.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/0.4471, allocations: 188 kB / 0.5452 GB, free: 47.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01357/0.4607, allocations: 4.308 MB / 0.5494 GB, free: 46.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007075/0.4678, allocations: 3.906 MB / 0.5533 GB, free: 44.03 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002185/0.47, allocations: 1.214 MB / 0.5544 GB, free: 43.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.4703, allocations: 346.2 kB / 0.5548 GB, free: 43.2 MB / 414.1 MB Notification: Performance of Backend: time 3.5e-07/0.4703, allocations: 0 / 0.5548 GB, free: 43.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004591/0.4749, allocations: 2.17 MB / 0.5569 GB, free: 41.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.002826/0.4778, allocations: 2.639 MB / 0.5595 GB, free: 38.98 MB / 414.1 MB Notification: Performance of Templates: time 0.02955/0.5073, allocations: 28.4 MB / 0.5872 GB, free: 10.56 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1)