Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001126/0.001126, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.195/1.195, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001647/0.001647, allocations: 110.8 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09242, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/0.3393, allocations: 79.35 MB / 434.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3396, allocations: 94.06 kB / 434.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04444/0.384, allocations: 20.37 MB / 454.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.384, allocations: 0 / 454.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.781e-05/0.3841, allocations: 31.88 kB / 454.9 MB, free: 8.332 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002345/0.3865, allocations: 1.434 MB / 456.3 MB, free: 6.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3865, allocations: 8.031 kB / 456.4 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.3867, allocations: 134.4 kB / 456.5 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.3902, allocations: 1.682 MB / 458.2 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3903, allocations: 77.94 kB / 458.2 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3904, allocations: 96 kB / 458.3 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3924, allocations: 1.419 MB / 459.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3925, allocations: 7.922 kB / 459.8 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.3926, allocations: 40 kB / 459.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.3926, allocations: 42 kB / 459.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3944, allocations: 1.23 MB / 461.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/0.4001, allocations: 4.34 MB / 465.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.4019, allocations: 1.972 MB / 467.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.4019, allocations: 16.64 kB / 467.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008246/0.4028, allocations: 0.5937 MB / 468 MB, free: 10.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 3.767e-06/0.4028, allocations: 0 / 468 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.006255/0.409, allocations: 2.731 MB / 470.7 MB, free: 7.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.4091, allocations: 111.5 kB / 470.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4102, allocations: 0.7379 MB / 471.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.4102, allocations: 41.7 kB / 471.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.4107, allocations: 475.8 kB / 472.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.4109, allocations: 248.5 kB / 472.3 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.4109, allocations: 16 kB / 472.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4111, allocations: 402.7 kB / 472.7 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.4117, allocations: 397.7 kB / 473.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.4124, allocations: 0.5381 MB / 473.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.413, allocations: 450.2 kB / 474.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.413, allocations: 0 / 474.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001872/0.4149, allocations: 1.295 MB / 475.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4149, allocations: 7.953 kB / 475.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4149, allocations: 4.438 kB / 475.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.416, allocations: 476.4 kB / 475.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.4164, allocations: 95.83 kB / 476 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/0.4229, allocations: 5.282 MB / 481.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.4235, allocations: 87.34 kB / 481.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.4236, allocations: 28.12 kB / 481.4 MB, free: 13.09 MB / 362.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0007114/0.4243, allocations: 471.2 kB / 481.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4244, allocations: 82.97 kB / 481.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.4246, allocations: 116.5 kB / 482 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4247, allocations: 8 kB / 482 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4247, allocations: 0 / 482 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4247, allocations: 3.984 kB / 482 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/0.4284, allocations: 2.627 MB / 484.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4285, allocations: 0 / 484.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.4288, allocations: 63.91 kB / 484.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009066/0.4297, allocations: 453.2 kB / 485.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.4297, allocations: 19.98 kB / 485.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.436, allocations: 5.287 MB / 490.5 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.436, allocations: 4 kB / 490.5 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.4386, allocations: 1.927 MB / 492.4 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.439, allocations: 267.9 kB / 492.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.4391, allocations: 12 kB / 492.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.4396, allocations: 51.95 kB / 492.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4397, allocations: 72.53 kB / 492.8 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.4398, allocations: 16 kB / 492.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007273/0.4405, allocations: 0.5927 MB / 493.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4405, allocations: 0 / 493.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009035/0.4414, allocations: 339.1 kB / 493.7 MB, free: 472 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/0.4416, allocations: 127 kB / 493.8 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.4436, allocations: 1.284 MB / 495.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4436, allocations: 0.875 kB / 495.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4447, allocations: 0.8279 MB / 496 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.4456, allocations: 256.7 kB / 496.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.4492, allocations: 2.658 MB / 498.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/0.4501, allocations: 1.341 MB / 0.4885 GB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.4504, allocations: 139.2 kB / 0.4886 GB, free: 9.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4506, allocations: 47.44 kB / 0.4887 GB, free: 9.711 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4506, allocations: 0 / 0.4887 GB, free: 9.711 MB / 378.7 MB Notification: Performance of Templates: time 0.02443/0.475, allocations: 17.82 MB / 0.5061 GB, free: 7.883 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)