Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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) 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001178/0.001178, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.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.0005669/0.0005669, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.28, allocations: 47.59 MB / 326.5 MB, free: 1.48 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003515/0.2836, allocations: 2.967 MB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2853, allocations: 0.938 MB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.2855, allocations: 10.53 kB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.2857, allocations: 52.91 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.2861, allocations: 172.2 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2864, allocations: 108.5 kB / 330.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005073/0.2869, allocations: 396.9 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.2872, allocations: 153.8 kB / 331.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.2875, allocations: 178.7 kB / 331.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.2878, allocations: 199 kB / 331.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.2879, allocations: 23.62 kB / 331.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.288, allocations: 27.56 kB / 331.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.2881, allocations: 81.78 kB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2882, allocations: 116.8 kB / 331.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.2887, allocations: 462.2 kB / 332.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2887, allocations: 0 / 332.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2887, allocations: 0 / 332.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2887, allocations: 1 kB / 332.3 MB, free: 13.05 MB / 270.1 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.001263/0.29, allocations: 0.6929 MB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.29, allocations: 8.375 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2901, allocations: 54.94 kB / 333.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.2906, allocations: 350.9 kB / 333.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.2906, allocations: 41.92 kB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.2907, allocations: 47.75 kB / 333.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.2915, allocations: 441.3 kB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2915, allocations: 0.9688 kB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.2916, allocations: 20.38 kB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2916, allocations: 18.14 kB / 334 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.2922, allocations: 316.8 kB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.2944, allocations: 1.844 MB / 336.1 MB, free: 9.586 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.2952, allocations: 0.6008 MB / 336.7 MB, free: 8.922 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2953, allocations: 4.328 kB / 336.7 MB, free: 8.918 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.2958, allocations: 273.1 kB / 337 MB, free: 8.633 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.2958, allocations: 0 / 337 MB, free: 8.633 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002308/0.2981, allocations: 0.8588 MB / 337.8 MB, free: 7.746 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.2982, allocations: 85.06 kB / 337.9 MB, free: 7.645 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.2986, allocations: 312.4 kB / 338.2 MB, free: 7.336 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.2986, allocations: 37.7 kB / 338.3 MB, free: 7.293 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2988, allocations: 212.4 kB / 338.5 MB, free: 7.082 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.299, allocations: 138.1 kB / 338.6 MB, free: 6.945 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.299, allocations: 12 kB / 338.6 MB, free: 6.934 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2991, allocations: 350.7 kB / 339 MB, free: 6.582 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.2994, allocations: 117.1 kB / 339.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.2997, allocations: 256.9 kB / 339.3 MB, free: 6.164 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2999, allocations: 152.4 kB / 339.5 MB, free: 6.016 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3, allocations: 7.953 kB / 339.5 MB, free: 6.008 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008065/0.3008, allocations: 0.5018 MB / 340 MB, free: 5.496 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3008, allocations: 11.98 kB / 340 MB, free: 5.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3008, allocations: 4 kB / 340 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/0.3013, allocations: 140.7 kB / 340.1 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.3015, allocations: 71.89 kB / 340.2 MB, free: 5.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3042, allocations: 2.338 MB / 342.6 MB, free: 2.801 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3046, allocations: 39.72 kB / 342.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.3046, allocations: 20 kB / 342.6 MB, free: 2.742 MB / 270.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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0002467/0.3049, allocations: 174.5 kB / 342.8 MB, free: 2.562 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.3049, allocations: 43.48 kB / 342.8 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.388e-05/0.305, allocations: 52.23 kB / 342.9 MB, free: 2.469 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.305, allocations: 4 kB / 342.9 MB, free: 2.465 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.305, allocations: 0 / 342.9 MB, free: 2.465 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.305, allocations: 3.984 kB / 342.9 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.3064, allocations: 1.003 MB / 343.9 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3064, allocations: 0 / 343.9 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3066, allocations: 39.97 kB / 343.9 MB, free: 1.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.307, allocations: 146.9 kB / 344.1 MB, free: 1.211 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.307, allocations: 8 kB / 344.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.3095, allocations: 2.336 MB / 346.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3095, allocations: 0 / 346.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.3105, allocations: 0.7233 MB / 347.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3106, allocations: 144.6 kB / 347.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.3107, allocations: 8 kB / 347.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.3109, allocations: 15.98 kB / 347.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.311, allocations: 43.84 kB / 347.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.311, allocations: 15.98 kB / 347.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3112, allocations: 223 kB / 347.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.3113, allocations: 0 / 347.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.3118, allocations: 143.6 kB / 347.7 MB, free: 13.38 MB / 286.1 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: 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) * Number of clocked states: 0 () * 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.0001348/0.312, allocations: 107.9 kB / 347.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009251/0.3129, allocations: 0.538 MB / 348.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3129, allocations: 8.25 kB / 348.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.3134, allocations: 374.4 kB / 348.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3138, allocations: 65.05 kB / 348.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3153, allocations: 1.025 MB / 349.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3157, allocations: 0.836 MB / 350.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.3159, allocations: 39.3 kB / 350.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3159, allocations: 27.44 kB / 350.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.316, allocations: 0 / 350.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Templates: time 0.01075/0.3267, allocations: 6.052 MB / 356.8 MB, free: 4.234 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) Environment - environmentSimulation: