Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 110.3 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.001176/0.001176, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.364/1.364, allocations: 205.1 MB / 224.6 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.1844/0.1844, allocations: 37.99 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.001501/0.001502, allocations: 67.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09636/0.09787, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008203/0.1061, allocations: 6.589 MB / 494.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1094, allocations: 1.785 MB / 496.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.11, allocations: 23.88 kB / 496.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.1108, allocations: 230.3 kB / 496.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009623/0.1118, allocations: 381.8 kB / 496.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.1123, allocations: 227.7 kB / 497 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1135, allocations: 1.071 MB / 498.1 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006343/0.1142, allocations: 0.5139 MB / 498.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.1149, allocations: 482.3 kB / 499.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.1157, allocations: 494.3 kB / 499.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1158, allocations: 84 kB / 499.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1159, allocations: 84 kB / 499.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.1162, allocations: 275.3 kB / 500 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.1166, allocations: 406.3 kB / 0.4886 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009432/0.1176, allocations: 1.036 MB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1176, allocations: 0 / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1176, allocations: 4 kB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1176, allocations: 0 / 0.4897 GB, free: 10.65 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001986/0.1196, allocations: 1.017 MB / 0.4906 GB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1197, allocations: 19.88 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.1198, allocations: 72.09 kB / 0.4907 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.1211, allocations: 0.6487 MB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.1212, allocations: 121.2 kB / 0.4915 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.029e-05/0.1213, allocations: 55.94 kB / 0.4915 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1226, allocations: 0.7499 MB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1226, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.1227, allocations: 24 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1227, allocations: 16 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1239, allocations: 0.605 MB / 0.4929 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.1272, allocations: 2.459 MB / 0.4953 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.1281, allocations: 424.9 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.1285, allocations: 211.1 kB / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1286, allocations: 4.281 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.129, allocations: 243.3 kB / 0.4961 GB, free: 3.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.804e-06/0.129, allocations: 0 / 0.4961 GB, free: 3.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00302/0.132, allocations: 0.8814 MB / 0.497 GB, free: 2.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.1321, allocations: 136.5 kB / 0.4971 GB, free: 2.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.1326, allocations: 401.9 kB / 0.4975 GB, free: 2.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1326, allocations: 29.7 kB / 0.4975 GB, free: 2.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1328, allocations: 316 kB / 0.4978 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.1329, allocations: 130.2 kB / 0.498 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.133, allocations: 82.12 kB / 0.4981 GB, free: 1.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1332, allocations: 350.8 kB / 0.4984 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.1335, allocations: 128.8 kB / 0.4985 GB, free: 1.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.1339, allocations: 250 kB / 0.4987 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.1353, allocations: 0.6489 MB / 0.4994 GB, free: 212 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1353, allocations: 0 / 0.4994 GB, free: 212 kB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001045/0.1364, allocations: 0.5211 MB / 0.4999 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1364, allocations: 4 kB / 0.4999 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1364, allocations: 4.469 kB / 0.4999 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/0.1369, allocations: 160.7 kB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.1372, allocations: 75.84 kB / 0.5001 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/0.1407, allocations: 2.259 MB / 0.5023 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.141, allocations: 59.45 kB / 0.5024 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.141, allocations: 24.05 kB / 0.5024 GB, free: 12.95 MB / 398.1 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,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * 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 (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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.1413, allocations: 237.7 kB / 0.5026 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.1414, allocations: 47.44 kB / 0.5027 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1426, allocations: 482.6 kB / 0.5031 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.1426, allocations: 11.86 kB / 0.5032 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1426, allocations: 3.984 kB / 0.5032 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.1428, allocations: 156.4 kB / 0.5033 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.1429, allocations: 11.94 kB / 0.5033 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1431, allocations: 19.97 kB / 0.5033 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.1432, allocations: 23.97 kB / 0.5034 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001726/0.1449, allocations: 0.8127 MB / 0.5042 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001108/0.146, allocations: 0.9153 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002994/0.1464, allocations: 155.8 kB / 0.5052 GB, free: 10.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.1467, allocations: 287.1 kB / 0.5055 GB, free: 9.746 MB / 398.1 MB Notification: Performance of Backend: time 5.61e-07/0.1467, allocations: 0 / 0.5055 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.1479, allocations: 477.2 kB / 0.5059 GB, free: 9.262 MB / 398.1 MB Notification: Performance of SimCode: time 0.002189/0.1501, allocations: 1.732 MB / 0.5076 GB, free: 7.48 MB / 398.1 MB Notification: Performance of Templates: time 0.01303/0.1631, allocations: 8.047 MB / 0.5155 GB, free: 15.42 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1)