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.002671/0.002671, 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.852/3.852, allocations: 388.9 MB / 406.8 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.003526/0.003527, allocations: 227.9 kB / 452.2 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.7629/0.7629, allocations: 76.02 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09126, allocations: 53.22 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.007812/0.09912, allocations: 6.42 MB / 0.6805 GB, free: 54.37 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.1031, allocations: 1.86 MB / 0.6823 GB, free: 52.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.1038, allocations: 35.75 kB / 0.6823 GB, free: 52.47 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.1048, allocations: 202.7 kB / 0.6825 GB, free: 52.27 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.1062, allocations: 361.9 kB / 0.6829 GB, free: 51.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.1072, allocations: 191.6 kB / 0.6831 GB, free: 51.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1086, allocations: 1.152 MB / 0.6842 GB, free: 50.57 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.1092, allocations: 333.8 kB / 0.6845 GB, free: 50.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.1097, allocations: 362.4 kB / 0.6849 GB, free: 49.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.1105, allocations: 442.5 kB / 0.6853 GB, free: 49.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.619e-05/0.1106, allocations: 36 kB / 0.6853 GB, free: 49.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1108, allocations: 36 kB / 0.6853 GB, free: 49.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.111, allocations: 227.3 kB / 0.6856 GB, free: 49.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1112, allocations: 161.4 kB / 0.6857 GB, free: 48.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.1121, allocations: 0.8142 MB / 0.6865 GB, free: 48.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1121, allocations: 3.938 kB / 0.6865 GB, free: 48.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1121, allocations: 0 / 0.6865 GB, free: 48.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1121, allocations: 4 kB / 0.6865 GB, free: 48.17 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.002466/0.1146, allocations: 0.9197 MB / 0.6874 GB, free: 47.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1147, allocations: 8.031 kB / 0.6874 GB, free: 47.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1149, allocations: 75.16 kB / 0.6875 GB, free: 47.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.1164, allocations: 0.6087 MB / 0.6881 GB, free: 46.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.1166, allocations: 120.7 kB / 0.6882 GB, free: 46.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1168, allocations: 59.91 kB / 0.6883 GB, free: 46.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.1186, allocations: 0.7577 MB / 0.689 GB, free: 45.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.1187, allocations: 0 / 0.689 GB, free: 45.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/0.1188, allocations: 24 kB / 0.689 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1188, allocations: 16 kB / 0.689 GB, free: 45.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.1208, allocations: 0.6245 MB / 0.6896 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.1254, allocations: 2.471 MB / 0.6921 GB, free: 42.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.1267, allocations: 421.8 kB / 0.6925 GB, free: 41.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.1273, allocations: 211 kB / 0.6927 GB, free: 41.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.1274, allocations: 8.219 kB / 0.6927 GB, free: 41.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006183/0.128, allocations: 236.4 kB / 0.6929 GB, free: 41.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=36): time 3.597e-06/0.1281, allocations: 0 / 0.6929 GB, free: 41.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.005174/0.1332, allocations: 0.866 MB / 0.6937 GB, free: 40.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1333, allocations: 136.5 kB / 0.6939 GB, free: 40.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.1338, allocations: 401.9 kB / 0.6943 GB, free: 39.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1339, allocations: 29.7 kB / 0.6943 GB, free: 39.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.1341, allocations: 320.1 kB / 0.6946 GB, free: 39.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1342, allocations: 118.3 kB / 0.6947 GB, free: 39.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1342, allocations: 12 kB / 0.6947 GB, free: 39.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.1343, allocations: 358.7 kB / 0.6951 GB, free: 39.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.1348, allocations: 124.8 kB / 0.6952 GB, free: 38.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.1353, allocations: 250 kB / 0.6954 GB, free: 38.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.1359, allocations: 160.8 kB / 0.6956 GB, free: 38.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1359, allocations: 4 kB / 0.6956 GB, free: 38.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00154/0.1374, allocations: 0.5152 MB / 0.6961 GB, free: 37.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1375, allocations: 19.81 kB / 0.6961 GB, free: 37.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1375, allocations: 4 kB / 0.6961 GB, free: 37.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007358/0.1382, allocations: 144.9 kB / 0.6962 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.1387, allocations: 71.89 kB / 0.6963 GB, free: 37.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004581/0.1433, allocations: 2.041 MB / 0.6983 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.144, allocations: 47.58 kB / 0.6983 GB, free: 35.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.144, allocations: 16 kB / 0.6984 GB, free: 35.46 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.0004171/0.1444, allocations: 253.8 kB / 0.6986 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.1445, allocations: 47.38 kB / 0.6986 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.1465, allocations: 487.7 kB / 0.6991 GB, free: 34.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.1466, allocations: 3.984 kB / 0.6991 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1466, allocations: 0 / 0.6991 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1468, allocations: 152.4 kB / 0.6993 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.1469, allocations: 12 kB / 0.6993 GB, free: 34.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.1473, allocations: 15.98 kB / 0.6993 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1474, allocations: 27.95 kB / 0.6993 GB, free: 34.44 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002791/0.1502, allocations: 0.8233 MB / 0.7001 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001627/0.1519, allocations: 0.915 MB / 0.701 GB, free: 32.67 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004815/0.1524, allocations: 151.9 kB / 0.7012 GB, free: 32.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004043/0.1528, allocations: 279.1 kB / 0.7014 GB, free: 32.25 MB / 442.7 MB Notification: Performance of Backend: time 7.42e-07/0.1528, allocations: 0 / 0.7014 GB, free: 32.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.1545, allocations: 471 kB / 0.7019 GB, free: 31.78 MB / 442.7 MB Notification: Performance of SimCode: time 0.00307/0.1576, allocations: 2.029 MB / 0.7039 GB, free: 29.69 MB / 442.7 MB Notification: Performance of Templates: time 0.01796/0.1756, allocations: 7.209 MB / 0.7109 GB, free: 22.51 MB / 442.7 MB