Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001509, allocations: 182.4 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 102.7 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2598/0.2598, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004438, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 56.32 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.5872, allocations: 98.25 MB / 0.5638 GB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.5876, allocations: 96.45 kB / 0.5639 GB, free: 1.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06815/0.6558, allocations: 16.11 MB / 0.5796 GB, free: 3.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6558, allocations: 0 / 0.5796 GB, free: 3.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.422e-05/0.6559, allocations: 16 kB / 0.5796 GB, free: 3.648 MB / 378.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.003293/0.6592, allocations: 0.9353 MB / 0.5805 GB, free: 2.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6593, allocations: 8.031 kB / 0.5805 GB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.6598, allocations: 79.14 kB / 0.5806 GB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.6647, allocations: 1.165 MB / 0.5817 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.665, allocations: 115.1 kB / 0.5818 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.6652, allocations: 59.73 kB / 0.5819 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.6675, allocations: 0.766 MB / 0.5826 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.6676, allocations: 11.89 kB / 0.5827 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.6677, allocations: 24.44 kB / 0.5827 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.6678, allocations: 16 kB / 0.5827 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.67, allocations: 0.619 MB / 0.5833 GB, free: 484 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005872/0.676, allocations: 2.507 MB / 0.5857 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.6776, allocations: 431.7 kB / 0.5862 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.6777, allocations: 8.281 kB / 0.5862 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.6784, allocations: 248 kB / 0.5864 GB, free: 13.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 3.326e-06/0.6784, allocations: 0 / 0.5864 GB, free: 13.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.00528/0.6837, allocations: 0.8357 MB / 0.5872 GB, free: 13.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.6839, allocations: 140.5 kB / 0.5874 GB, free: 12.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/0.6845, allocations: 351.4 kB / 0.5877 GB, free: 12.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.6846, allocations: 35.77 kB / 0.5877 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.6849, allocations: 354.5 kB / 0.5881 GB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.6851, allocations: 116.7 kB / 0.5882 GB, free: 12.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.6851, allocations: 9.625 kB / 0.5882 GB, free: 12.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6853, allocations: 329.4 kB / 0.5885 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.6858, allocations: 131 kB / 0.5886 GB, free: 11.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.6864, allocations: 247 kB / 0.5889 GB, free: 11.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.687, allocations: 160.7 kB / 0.589 GB, free: 11.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.687, allocations: 3.938 kB / 0.589 GB, free: 11.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00222/0.6892, allocations: 0.5285 MB / 0.5895 GB, free: 11.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6893, allocations: 8 kB / 0.5895 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6893, allocations: 4 kB / 0.5895 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/0.6901, allocations: 145.4 kB / 0.5897 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.6907, allocations: 86.89 kB / 0.5898 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.6961, allocations: 2.086 MB / 0.5918 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.6967, allocations: 58.48 kB / 0.5919 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.6968, allocations: 15.25 kB / 0.5919 GB, free: 8.934 MB / 394.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,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.gate,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.0005347/0.6973, allocations: 255.7 kB / 0.5921 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.6974, allocations: 43.53 kB / 0.5922 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.6996, allocations: 484.2 kB / 0.5926 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.6997, allocations: 4 kB / 0.5926 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6997, allocations: 0 / 0.5926 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.6997, allocations: 3.984 kB / 0.5926 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.701, allocations: 0.673 MB / 0.5933 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.701, allocations: 4 kB / 0.5933 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.7015, allocations: 54.16 kB / 0.5933 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007234/0.7022, allocations: 152.6 kB / 0.5935 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.7023, allocations: 7 kB / 0.5935 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.7074, allocations: 2.071 MB / 0.5955 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7074, allocations: 4.031 kB / 0.5955 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.7103, allocations: 0.7296 MB / 0.5962 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.7106, allocations: 143.9 kB / 0.5964 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.7107, allocations: 7.875 kB / 0.5964 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.7111, allocations: 23.84 kB / 0.5964 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.7113, allocations: 35.39 kB / 0.5964 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.7113, allocations: 8 kB / 0.5964 GB, free: 4.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005131/0.7119, allocations: 280.7 kB / 0.5967 GB, free: 4.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.765e-06/0.7119, allocations: 0 / 0.5967 GB, free: 4.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008749/0.7128, allocations: 178.6 kB / 0.5969 GB, free: 4.496 MB / 394.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.t0,chopper.modulator.t1,chopper.chopper.gate,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 0.0002638/0.713, allocations: 136.8 kB / 0.597 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.7146, allocations: 0.5045 MB / 0.5975 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7147, allocations: 7.938 kB / 0.5975 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000872/0.7155, allocations: 329.7 kB / 0.5978 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7166, allocations: 136.9 kB / 0.5979 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.7199, allocations: 1.55 MB / 0.5995 GB, free: 2.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.7206, allocations: 0.935 MB / 0.6004 GB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.7208, allocations: 35.44 kB / 0.6004 GB, free: 1.133 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7208, allocations: 3.938 kB / 0.6004 GB, free: 1.129 MB / 394.7 MB Notification: Performance of Templates: time 0.02272/0.7436, allocations: 10.06 MB / 0.6102 GB, free: 7.188 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1)