Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002603/0.002608, allocations: 362.2 kB / 17.21 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.782/3.782, allocations: 388.9 MB / 406.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003639/0.003639, allocations: 241.6 kB / 452.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7581/0.7581, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006076/0.0006078, allocations: 8 kB / 0.6222 GB, free: 114.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09121, allocations: 53.24 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.007548/0.09882, allocations: 6.225 MB / 0.6803 GB, free: 54.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.1027, allocations: 1.821 MB / 0.6821 GB, free: 52.87 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.1033, allocations: 39.75 kB / 0.6821 GB, free: 52.83 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.1038, allocations: 139 kB / 0.6823 GB, free: 52.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.105, allocations: 385.8 kB / 0.6826 GB, free: 52.31 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.1059, allocations: 291.5 kB / 0.6829 GB, free: 52.03 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1074, allocations: 1.36 MB / 0.6842 GB, free: 50.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.1078, allocations: 267.6 kB / 0.6845 GB, free: 50.4 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006682/0.1085, allocations: 430.3 kB / 0.6849 GB, free: 49.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000864/0.1094, allocations: 0.5024 MB / 0.6854 GB, free: 49.47 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1095, allocations: 40 kB / 0.6854 GB, free: 49.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1097, allocations: 36 kB / 0.6855 GB, free: 49.4 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.1101, allocations: 299.2 kB / 0.6857 GB, free: 49.11 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1103, allocations: 153.4 kB / 0.6859 GB, free: 48.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.1111, allocations: 0.8104 MB / 0.6867 GB, free: 48.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1111, allocations: 0 / 0.6867 GB, free: 48.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1111, allocations: 0 / 0.6867 GB, free: 48.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1112, allocations: 0 / 0.6867 GB, free: 48.14 MB / 442.7 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.003261/0.1144, allocations: 1.082 MB / 0.6877 GB, free: 46.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1145, allocations: 8.031 kB / 0.6877 GB, free: 46.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.1147, allocations: 83.16 kB / 0.6878 GB, free: 46.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1164, allocations: 0.6189 MB / 0.6884 GB, free: 46.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005683/0.117, allocations: 346.8 kB / 0.6888 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.1172, allocations: 59.98 kB / 0.6888 GB, free: 45.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.1207, allocations: 1.105 MB / 0.6899 GB, free: 44.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.1207, allocations: 0 / 0.6899 GB, free: 44.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.1208, allocations: 24 kB / 0.6899 GB, free: 44.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.1209, allocations: 16 kB / 0.6899 GB, free: 44.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.1258, allocations: 1.198 MB / 0.6911 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.1379, allocations: 3.264 MB / 0.6943 GB, free: 40.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/0.1441, allocations: 0.8237 MB / 0.6951 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/0.1483, allocations: 0.6157 MB / 0.6957 GB, free: 38.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.1484, allocations: 4.438 kB / 0.6957 GB, free: 38.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004155/0.1526, allocations: 0.6773 MB / 0.6964 GB, free: 37.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 6.702e-06/0.1527, allocations: 0 / 0.6964 GB, free: 37.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.01139/0.1641, allocations: 1.551 MB / 0.6979 GB, free: 36.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.1642, allocations: 148.4 kB / 0.698 GB, free: 36.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.1651, allocations: 389.9 kB / 0.6984 GB, free: 35.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.1653, allocations: 45.69 kB / 0.6984 GB, free: 35.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.1656, allocations: 284.4 kB / 0.6987 GB, free: 35.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.1659, allocations: 161.7 kB / 0.6989 GB, free: 35.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.166, allocations: 12 kB / 0.6989 GB, free: 35.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1662, allocations: 358.8 kB / 0.6992 GB, free: 34.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003076/0.1693, allocations: 0.4891 MB / 0.6997 GB, free: 34.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/0.1725, allocations: 0.5913 MB / 0.7003 GB, free: 33.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.1754, allocations: 0.4918 MB / 0.7007 GB, free: 33.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.1754, allocations: 0 / 0.7007 GB, free: 33.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.006621/0.1821, allocations: 1.16 MB / 0.7019 GB, free: 32.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.1822, allocations: 45.69 kB / 0.7019 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.1822, allocations: 7.953 kB / 0.7019 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.1823, allocations: 8 kB / 0.7019 GB, free: 32.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01882/0.2011, allocations: 1.588 MB / 0.7035 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.2215, allocations: 4.84 MB / 0.7082 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.224, allocations: 131.5 kB / 0.7083 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.2243, allocations: 39.97 kB / 0.7084 GB, free: 25.17 MB / 442.7 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 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001126/0.2254, allocations: 255.3 kB / 0.7086 GB, free: 24.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.2256, allocations: 51.39 kB / 0.7087 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.2303, allocations: 1.102 MB / 0.7098 GB, free: 23.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.2304, allocations: 7.984 kB / 0.7098 GB, free: 23.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2304, allocations: 0 / 0.7098 GB, free: 23.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.2308, allocations: 204.3 kB / 0.71 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.2309, allocations: 27.98 kB / 0.71 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.2322, allocations: 123.9 kB / 0.7101 GB, free: 23.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/0.2325, allocations: 88.22 kB / 0.7102 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0168/0.2493, allocations: 3.044 MB / 0.7132 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00705/0.2564, allocations: 2.069 MB / 0.7152 GB, free: 18.13 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002308/0.2588, allocations: 0.5968 MB / 0.7158 GB, free: 17.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000344/0.2591, allocations: 263.2 kB / 0.716 GB, free: 17.29 MB / 442.7 MB Notification: Performance of Backend: time 7.82e-07/0.2591, allocations: 0 / 0.716 GB, free: 17.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01336/0.2725, allocations: 2.203 MB / 0.7182 GB, free: 15.06 MB / 442.7 MB Notification: Performance of SimCode: time 0.003058/0.2756, allocations: 1.939 MB / 0.7201 GB, free: 13.07 MB / 442.7 MB Notification: Performance of Templates: time 0.02142/0.297, allocations: 9.303 MB / 0.7291 GB, free: 3.797 MB / 442.7 MB