Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001434/0.001434, allocations: 181.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.505/1.505, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001699/0.001699, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.332e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09462, allocations: 44.5 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4479, allocations: 76.2 MB / 425.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4481, allocations: 84.25 kB / 425.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01572/0.4639, allocations: 7.053 MB / 432.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4639, allocations: 0 / 432.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.4639, allocations: 7.812 kB / 432.8 MB, free: 7.953 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008579/0.4648, allocations: 0.6453 MB / 433.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4649, allocations: 11.53 kB / 433.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.465, allocations: 54.3 kB / 433.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.4654, allocations: 352.3 kB / 433.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.4654, allocations: 37.67 kB / 433.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.4655, allocations: 44.69 kB / 433.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.4661, allocations: 428.4 kB / 434.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4661, allocations: 7.828 kB / 434.4 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.4662, allocations: 21.16 kB / 434.4 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4662, allocations: 11.66 kB / 434.4 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.4667, allocations: 301.3 kB / 434.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.4686, allocations: 1.857 MB / 436.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.4692, allocations: 0.5948 MB / 437.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.4697, allocations: 274.5 kB / 437.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.4698, allocations: 4.203 kB / 437.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.4701, allocations: 259.6 kB / 437.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.4701, allocations: 0 / 437.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008008/0.4709, allocations: 443.2 kB / 438.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.471, allocations: 92.75 kB / 438.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.4713, allocations: 275.3 kB / 438.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.4713, allocations: 32.64 kB / 438.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4714, allocations: 215.8 kB / 438.7 MB, free: 4.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.4715, allocations: 133.7 kB / 438.8 MB, free: 4.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.4715, allocations: 10.72 kB / 438.8 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.4716, allocations: 343.8 kB / 439.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.4718, allocations: 107 kB / 439.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.472, allocations: 240.2 kB / 439.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.4723, allocations: 136.4 kB / 439.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4723, allocations: 3.875 kB / 439.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006896/0.473, allocations: 0.4896 MB / 440.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.473, allocations: 7.688 kB / 440.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.473, allocations: 3.844 kB / 440.2 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/0.4735, allocations: 142.8 kB / 440.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4737, allocations: 60.69 kB / 440.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.4762, allocations: 2.305 MB / 442.7 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.4765, allocations: 46.72 kB / 442.7 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.4765, allocations: 19.56 kB / 442.7 MB, free: 2.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.4767, allocations: 136 kB / 442.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.4767, allocations: 34.75 kB / 442.9 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.4768, allocations: 46.17 kB / 442.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4768, allocations: 7.75 kB / 442.9 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4769, allocations: 0 / 442.9 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4769, allocations: 3.953 kB / 442.9 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.478, allocations: 1.018 MB / 444 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.478, allocations: 3.875 kB / 444 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4782, allocations: 34.83 kB / 444 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.4786, allocations: 148.4 kB / 444.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.4786, allocations: 3.688 kB / 444.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.4808, allocations: 2.306 MB / 446.5 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4808, allocations: 0 / 446.5 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.4818, allocations: 0.6765 MB / 447.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.4819, allocations: 148.7 kB / 447.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.482, allocations: 18.31 kB / 447.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4822, allocations: 16.62 kB / 447.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4824, allocations: 42.88 kB / 447.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.4824, allocations: 11.69 kB / 447.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.4827, allocations: 214.9 kB / 447.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4827, allocations: 0 / 447.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006738/0.4834, allocations: 146.2 kB / 447.7 MB, free: 15.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/0.4836, allocations: 119.3 kB / 447.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008716/0.4845, allocations: 0.5061 MB / 448.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4845, allocations: 4.875 kB / 448.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.485, allocations: 365.5 kB / 448.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4854, allocations: 78.25 kB / 448.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.4867, allocations: 0.6109 MB / 449.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.4872, allocations: 0.836 MB / 450.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.4873, allocations: 35.31 kB / 450.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.4874, allocations: 31.12 kB / 450.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4874, allocations: 4 kB / 450.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Templates: time 0.0112/0.4986, allocations: 6.174 MB / 456.5 MB, free: 6.57 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)