Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002579/0.002585, allocations: 361.4 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.706/3.706, allocations: 388.9 MB / 406.8 MB, free: 12 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.003794/0.003794, allocations: 215.9 kB / 452.2 MB, free: 14.61 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.8096/0.8096, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006187/0.000619, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/0.08941, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008133/0.0976, allocations: 6.697 MB / 0.6808 GB, free: 54.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005634/0.1033, allocations: 2.636 MB / 0.6833 GB, free: 51.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008152/0.1042, allocations: 43.69 kB / 0.6834 GB, free: 51.4 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000596/0.1048, allocations: 154.9 kB / 0.6835 GB, free: 51.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.1067, allocations: 0.5831 MB / 0.6841 GB, free: 50.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1082, allocations: 431.1 kB / 0.6845 GB, free: 50.24 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.1105, allocations: 2.003 MB / 0.6865 GB, free: 48.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.1121, allocations: 0.8241 MB / 0.6873 GB, free: 47.37 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1132, allocations: 0.6111 MB / 0.6879 GB, free: 46.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.1149, allocations: 0.9157 MB / 0.6888 GB, free: 45.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.1152, allocations: 72 kB / 0.6888 GB, free: 45.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1165, allocations: 0.5498 MB / 0.6894 GB, free: 45.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006865/0.1172, allocations: 0.5612 MB / 0.6899 GB, free: 44.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.1176, allocations: 225.1 kB / 0.6901 GB, free: 44.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.1193, allocations: 1.532 MB / 0.6916 GB, free: 42.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1194, allocations: 0 / 0.6916 GB, free: 42.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1194, allocations: 0 / 0.6916 GB, free: 42.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.1194, allocations: 0 / 0.6916 GB, free: 42.89 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006916/0.1263, allocations: 1.732 MB / 0.6933 GB, free: 41.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1264, allocations: 8.031 kB / 0.6933 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1276, allocations: 170.6 kB / 0.6935 GB, free: 40.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.1312, allocations: 0.9235 MB / 0.6944 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009002/0.1321, allocations: 0.5256 MB / 0.6949 GB, free: 39.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.1326, allocations: 103.9 kB / 0.695 GB, free: 39.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/0.1394, allocations: 2.112 MB / 0.6971 GB, free: 37.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.1395, allocations: 0 / 0.6971 GB, free: 37.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.1397, allocations: 35.98 kB / 0.6971 GB, free: 37.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000338/0.14, allocations: 89.95 kB / 0.6972 GB, free: 36.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009001/0.149, allocations: 2.408 MB / 0.6995 GB, free: 34.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.1637, allocations: 5.761 MB / 0.7052 GB, free: 28.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008354/0.1721, allocations: 1.957 MB / 0.7071 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004843/0.177, allocations: 1.246 MB / 0.7083 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.1772, allocations: 9 kB / 0.7083 GB, free: 25.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005165/0.1824, allocations: 1.489 MB / 0.7098 GB, free: 23.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=123): time 5.48e-06/0.1824, allocations: 0 / 0.7098 GB, free: 23.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.0241/0.2065, allocations: 6.091 MB / 0.7157 GB, free: 17.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.2066, allocations: 106.1 kB / 0.7158 GB, free: 17.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.2074, allocations: 497.9 kB / 0.7163 GB, free: 17.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003414/0.2077, allocations: 57.7 kB / 0.7163 GB, free: 17.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.208, allocations: 364.7 kB / 0.7167 GB, free: 16.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.2084, allocations: 414 kB / 0.7171 GB, free: 16.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.2086, allocations: 23.98 kB / 0.7171 GB, free: 16.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2087, allocations: 394.7 kB / 0.7175 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/0.2122, allocations: 1.084 MB / 0.7185 GB, free: 14.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.2157, allocations: 1.231 MB / 0.7197 GB, free: 13.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.2191, allocations: 1.128 MB / 0.7208 GB, free: 12.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2191, allocations: 0 / 0.7208 GB, free: 12.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.02061/0.2398, allocations: 4.364 MB / 0.7251 GB, free: 8.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.2399, allocations: 61.67 kB / 0.7252 GB, free: 7.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.2399, allocations: 4 kB / 0.7252 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01205/0.252, allocations: 2.23 MB / 0.7273 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.2536, allocations: 195.7 kB / 0.7275 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3382/0.5918, allocations: 11.69 MB / 0.7389 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/0.5943, allocations: 204.1 kB / 0.7391 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.5947, allocations: 71.91 kB / 0.7392 GB, free: 125.9 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: 28 ($whenCondition3,$whenCondition2,$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.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0009279/0.5956, allocations: 382.8 kB / 0.7396 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.5959, allocations: 84.2 kB / 0.7397 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.6067, allocations: 2.554 MB / 0.7421 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-05/0.6068, allocations: 12.39 kB / 0.7422 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6069, allocations: 1.438 kB / 0.7422 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.6079, allocations: 339.3 kB / 0.7425 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.6083, allocations: 88.75 kB / 0.7426 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/0.611, allocations: 247.7 kB / 0.7428 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008215/0.6119, allocations: 182.9 kB / 0.743 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03154/0.6434, allocations: 5.265 MB / 0.7481 GB, free: 124.5 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01618/0.6597, allocations: 4.193 MB / 0.7522 GB, free: 123.1 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005128/0.6648, allocations: 1.314 MB / 0.7535 GB, free: 122.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005789/0.6655, allocations: 337.9 kB / 0.7538 GB, free: 122.6 MB / 442.7 MB Notification: Performance of Backend: time 1.613e-06/0.6655, allocations: 1.094 kB / 0.7538 GB, free: 122.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009414/0.6749, allocations: 2.878 MB / 0.7566 GB, free: 121.2 MB / 442.7 MB Notification: Performance of SimCode: time 0.005407/0.6804, allocations: 3.11 MB / 0.7597 GB, free: 119.3 MB / 442.7 MB Notification: Performance of Templates: time 0.05814/0.7386, allocations: 28.03 MB / 0.787 GB, free: 103.4 MB / 442.7 MB