Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001603/0.001603, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.32/1.32, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001611/0.001611, allocations: 116.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.639e-05, allocations: 7.984 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08095, allocations: 44.49 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3715, allocations: 77.33 MB / 419.9 MB, free: 18.52 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.3719, allocations: 87.56 kB / 420 MB, free: 18.46 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05863/0.4306, allocations: 13.29 MB / 433.3 MB, free: 7.578 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4306, allocations: 0 / 433.3 MB, free: 7.578 MB / 315.1 MB Notification: Performance of Transformations before backend: time 8.316e-05/0.4307, allocations: 20 kB / 433.3 MB, free: 7.559 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002708/0.4335, allocations: 0.9303 MB / 434.2 MB, free: 6.633 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4335, allocations: 12.03 kB / 434.2 MB, free: 6.621 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.4339, allocations: 86.97 kB / 434.3 MB, free: 6.535 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.4356, allocations: 0.6144 MB / 434.9 MB, free: 5.992 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.4356, allocations: 20 kB / 435 MB, free: 5.973 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.4358, allocations: 43.94 kB / 435 MB, free: 5.934 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/0.4376, allocations: 0.6742 MB / 435.7 MB, free: 5.523 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.4395, allocations: 0.7938 MB / 436.5 MB, free: 4.926 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.4395, allocations: 0 / 436.5 MB, free: 4.926 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/0.4396, allocations: 0 / 436.5 MB, free: 4.926 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/0.4397, allocations: 36.73 kB / 436.5 MB, free: 4.895 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/0.4456, allocations: 2.692 MB / 439.2 MB, free: 2.699 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.4466, allocations: 0.7037 MB / 439.9 MB, free: 2.117 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.4472, allocations: 308.5 kB / 440.2 MB, free: 1.914 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.4473, allocations: 4.328 kB / 440.2 MB, free: 1.91 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006852/0.448, allocations: 345.3 kB / 440.6 MB, free: 1.637 MB / 315.1 MB Notification: Performance of pre-optimization done (n=43): time 4.248e-06/0.448, allocations: 4 kB / 440.6 MB, free: 1.633 MB / 315.1 MB Notification: Performance of matching and sorting (n=43): time 0.001369/0.4494, allocations: 0.609 MB / 441.2 MB, free: 1.18 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.4495, allocations: 118.8 kB / 441.3 MB, free: 1.039 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.4504, allocations: 470.7 kB / 441.7 MB, free: 0.6797 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.4505, allocations: 25.7 kB / 441.8 MB, free: 0.6484 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.4509, allocations: 351.7 kB / 442.1 MB, free: 396 kB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.4511, allocations: 135.3 kB / 442.2 MB, free: 276 kB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.4511, allocations: 0 / 442.2 MB, free: 276 kB / 315.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4513, allocations: 364.7 kB / 442.6 MB, free: 15.93 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.4518, allocations: 189.8 kB / 442.8 MB, free: 15.81 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.4524, allocations: 318.7 kB / 443.1 MB, free: 15.52 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.453, allocations: 215.3 kB / 443.3 MB, free: 15.38 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.453, allocations: 4 kB / 443.3 MB, free: 15.38 MB / 331.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001763/0.4548, allocations: 0.6636 MB / 444 MB, free: 14.88 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4548, allocations: 8 kB / 444 MB, free: 14.87 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4549, allocations: 4 kB / 444 MB, free: 14.86 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007806/0.4557, allocations: 198.4 kB / 444.2 MB, free: 14.72 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.4562, allocations: 79.77 kB / 444.3 MB, free: 14.65 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004807/0.461, allocations: 2.682 MB / 446.9 MB, free: 12.42 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.4616, allocations: 51.75 kB / 447 MB, free: 12.37 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.4617, allocations: 19.44 kB / 447 MB, free: 12.35 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.4619, allocations: 125.4 kB / 447.1 MB, free: 12.23 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.462, allocations: 47.44 kB / 447.2 MB, free: 12.18 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4623, allocations: 64.34 kB / 447.2 MB, free: 12.14 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4623, allocations: 7.953 kB / 447.2 MB, free: 12.13 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4623, allocations: 0 / 447.2 MB, free: 12.13 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4624, allocations: 7.922 kB / 447.3 MB, free: 12.12 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.4664, allocations: 1.609 MB / 448.9 MB, free: 10.86 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4664, allocations: 4 kB / 448.9 MB, free: 10.86 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.4669, allocations: 47.91 kB / 448.9 MB, free: 10.81 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007864/0.4677, allocations: 186.8 kB / 449.1 MB, free: 10.68 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.4678, allocations: 7.062 kB / 449.1 MB, free: 10.68 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004371/0.4722, allocations: 2.556 MB / 451.7 MB, free: 8.516 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.4722, allocations: 3.953 kB / 451.7 MB, free: 8.512 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.4747, allocations: 1.044 MB / 452.7 MB, free: 7.73 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.4751, allocations: 196.8 kB / 452.9 MB, free: 7.547 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4753, allocations: 3.938 kB / 452.9 MB, free: 7.543 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.4758, allocations: 27.92 kB / 452.9 MB, free: 7.516 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.4759, allocations: 43.25 kB / 453 MB, free: 7.48 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.476, allocations: 15.98 kB / 453 MB, free: 7.465 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0007255/0.4767, allocations: 369 kB / 453.3 MB, free: 7.199 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4768, allocations: 0 / 453.3 MB, free: 7.199 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.001236/0.478, allocations: 187.3 kB / 453.5 MB, free: 7.016 MB / 331.1 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000237/0.4783, allocations: 111 kB / 453.6 MB, free: 6.898 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.4799, allocations: 0.6555 MB / 454.3 MB, free: 6.41 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4799, allocations: 4 kB / 454.3 MB, free: 6.406 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.4808, allocations: 426.5 kB / 454.7 MB, free: 6.082 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.4818, allocations: 116.9 kB / 454.8 MB, free: 5.996 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.4851, allocations: 1.056 MB / 455.9 MB, free: 5.066 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.4862, allocations: 1.086 MB / 457 MB, free: 4.008 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.4868, allocations: 88.56 kB / 457.1 MB, free: 3.918 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4869, allocations: 39.42 kB / 457.1 MB, free: 3.883 MB / 331.1 MB Notification: Performance of SimCode: time 7.21e-07/0.487, allocations: 0 / 457.1 MB, free: 3.883 MB / 331.1 MB Notification: Performance of Templates: time 0.02045/0.5074, allocations: 8.016 MB / 465.1 MB, free: 11.93 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)