Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002415/0.002415, allocations: 354.1 kB / 16.57 MB, free: 5.59 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.388/3.388, allocations: 388.9 MB / 406.2 MB, free: 11.98 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.003171/0.003171, allocations: 229.7 kB / 451.6 MB, free: 14.57 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.6119/0.6119, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008634/0.0008635, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09597, allocations: 53.24 MB / 0.6736 GB, free: 60.8 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.00622/0.1022, allocations: 6.416 MB / 0.6799 GB, free: 54.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1048, allocations: 1.867 MB / 0.6817 GB, free: 52.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.1051, allocations: 35.75 kB / 0.6817 GB, free: 52.44 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.1056, allocations: 194.7 kB / 0.6819 GB, free: 52.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.1063, allocations: 365.9 kB / 0.6823 GB, free: 51.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.1068, allocations: 191.6 kB / 0.6825 GB, free: 51.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009106/0.1077, allocations: 1.149 MB / 0.6836 GB, free: 50.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.1082, allocations: 325.8 kB / 0.6839 GB, free: 50.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1086, allocations: 358.4 kB / 0.6842 GB, free: 49.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.1092, allocations: 446.5 kB / 0.6847 GB, free: 49.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.1093, allocations: 36 kB / 0.6847 GB, free: 49.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1094, allocations: 36 kB / 0.6847 GB, free: 49.37 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1097, allocations: 227.3 kB / 0.6849 GB, free: 49.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1098, allocations: 161.4 kB / 0.6851 GB, free: 48.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.1105, allocations: 0.822 MB / 0.6859 GB, free: 48.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.378e-06/0.1105, allocations: 0 / 0.6859 GB, free: 48.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.76e-06/0.1106, allocations: 3.938 kB / 0.6859 GB, free: 48.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.1106, allocations: 0 / 0.6859 GB, free: 48.15 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001592/0.1122, allocations: 0.9119 MB / 0.6868 GB, free: 47.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1122, allocations: 8.828 kB / 0.6868 GB, free: 47.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.1124, allocations: 79.16 kB / 0.6869 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.1136, allocations: 0.6087 MB / 0.6875 GB, free: 46.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1138, allocations: 120.7 kB / 0.6876 GB, free: 46.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.1139, allocations: 63.84 kB / 0.6876 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.1153, allocations: 0.7577 MB / 0.6884 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1153, allocations: 0 / 0.6884 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.1154, allocations: 20 kB / 0.6884 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1155, allocations: 16 kB / 0.6884 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.1169, allocations: 0.6245 MB / 0.689 GB, free: 44.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.1203, allocations: 2.475 MB / 0.6914 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.1212, allocations: 421.8 kB / 0.6918 GB, free: 41.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/0.1217, allocations: 211 kB / 0.692 GB, free: 41.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1218, allocations: 4.281 kB / 0.6921 GB, free: 41.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.1223, allocations: 240.4 kB / 0.6923 GB, free: 41.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=36): time 2.957e-06/0.1223, allocations: 0 / 0.6923 GB, free: 41.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003356/0.1257, allocations: 0.8699 MB / 0.6931 GB, free: 40.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1257, allocations: 132.5 kB / 0.6933 GB, free: 40.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.1262, allocations: 401.9 kB / 0.6936 GB, free: 39.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1263, allocations: 33.7 kB / 0.6937 GB, free: 39.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.1265, allocations: 316 kB / 0.694 GB, free: 39.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.1266, allocations: 122.3 kB / 0.6941 GB, free: 39.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.1266, allocations: 12.03 kB / 0.6941 GB, free: 39.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1267, allocations: 358.7 kB / 0.6944 GB, free: 39.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.1271, allocations: 132.8 kB / 0.6946 GB, free: 38.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.1275, allocations: 246 kB / 0.6948 GB, free: 38.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.1278, allocations: 160.8 kB / 0.695 GB, free: 38.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-06/0.1279, allocations: 0 / 0.695 GB, free: 38.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001162/0.129, allocations: 0.5231 MB / 0.6955 GB, free: 37.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1291, allocations: 8 kB / 0.6955 GB, free: 37.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.833e-06/0.1291, allocations: 4 kB / 0.6955 GB, free: 37.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.1296, allocations: 144.8 kB / 0.6956 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.13, allocations: 75.89 kB / 0.6957 GB, free: 37.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.1332, allocations: 2.034 MB / 0.6977 GB, free: 35.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.1336, allocations: 55.64 kB / 0.6977 GB, free: 35.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.1336, allocations: 23.92 kB / 0.6978 GB, free: 35.43 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,chopper.modulator.gate,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.diode.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002984/0.1339, allocations: 249.6 kB / 0.698 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.134, allocations: 47.42 kB / 0.698 GB, free: 35.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.1355, allocations: 479.7 kB / 0.6985 GB, free: 34.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.256e-06/0.1355, allocations: 4 kB / 0.6985 GB, free: 34.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1355, allocations: 7.953 kB / 0.6985 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-06/0.1355, allocations: 3.984 kB / 0.6985 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.1362, allocations: 0.6785 MB / 0.6992 GB, free: 33.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.883e-06/0.1363, allocations: 0 / 0.6992 GB, free: 33.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.1365, allocations: 43.98 kB / 0.6992 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.137, allocations: 148.7 kB / 0.6994 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.1371, allocations: 19.98 kB / 0.6994 GB, free: 33.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.1401, allocations: 2.014 MB / 0.7013 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.635e-06/0.1401, allocations: 4.031 kB / 0.7013 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.1418, allocations: 0.6941 MB / 0.702 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.142, allocations: 156.4 kB / 0.7022 GB, free: 30.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.1421, allocations: 8 kB / 0.7022 GB, free: 30.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.1424, allocations: 19.98 kB / 0.7022 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1425, allocations: 35.94 kB / 0.7022 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1426, allocations: 12.19 kB / 0.7022 GB, free: 30.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.1429, allocations: 279.1 kB / 0.7025 GB, free: 30.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.1429, allocations: 3.938 kB / 0.7025 GB, free: 30.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006189/0.1435, allocations: 163.4 kB / 0.7027 GB, free: 30.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 9.704e-05/0.1436, allocations: 115.1 kB / 0.7028 GB, free: 30 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.1446, allocations: 499 kB / 0.7033 GB, free: 29.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.758e-06/0.1447, allocations: 0 / 0.7033 GB, free: 29.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.1453, allocations: 339 kB / 0.7036 GB, free: 29.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.146, allocations: 149.5 kB / 0.7037 GB, free: 29.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1483, allocations: 1.534 MB / 0.7052 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1487, allocations: 0.9366 MB / 0.7061 GB, free: 26.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.1491, allocations: 92.62 kB / 0.7062 GB, free: 26.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.1492, allocations: 31.44 kB / 0.7063 GB, free: 26.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.334e-06/0.1492, allocations: 4 kB / 0.7063 GB, free: 26.35 MB / 442.7 MB Notification: Performance of Templates: time 0.01515/0.1643, allocations: 7.412 MB / 0.7135 GB, free: 18.96 MB / 442.7 MB