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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 109.8 kB / 17.06 MB, free: 6.016 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.002289/0.002289, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.00134/0.00134, allocations: 47.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006801/0.1458, allocations: 3.658 MB / 378.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3194/0.4653, allocations: 0.9547 MB / 379.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.4659, allocations: 9.406 kB / 379.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.4663, allocations: 78.47 kB / 379.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.4669, allocations: 139 kB / 379.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.4674, allocations: 165.9 kB / 379.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000736/0.4681, allocations: 0.6074 MB / 380.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.4687, allocations: 215.5 kB / 380.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.4691, allocations: 225.8 kB / 380.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.4695, allocations: 241.8 kB / 380.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.847e-05/0.4696, allocations: 55.12 kB / 380.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.4697, allocations: 57.41 kB / 380.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.4699, allocations: 120.1 kB / 381 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.4702, allocations: 265.7 kB / 381.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.4712, allocations: 0.6268 MB / 381.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4712, allocations: 0 / 381.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4713, allocations: 0.5 kB / 381.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4713, allocations: 3.938 kB / 381.9 MB, free: 9.895 MB / 318.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.00167/0.473, allocations: 0.7877 MB / 382.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.473, allocations: 9.625 kB / 382.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4732, allocations: 61.03 kB / 382.7 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.4737, allocations: 360.7 kB / 383.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.4737, allocations: 35.53 kB / 383.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.4738, allocations: 41.38 kB / 383.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.4747, allocations: 457.7 kB / 383.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.4747, allocations: 1.25 kB / 383.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.4748, allocations: 17.17 kB / 383.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4748, allocations: 9.969 kB / 383.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.4755, allocations: 323.5 kB / 384 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.4784, allocations: 1.819 MB / 385.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.4793, allocations: 0.615 MB / 386.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.48, allocations: 277.2 kB / 386.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.48, allocations: 4.922 kB / 386.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006175/0.4807, allocations: 273.7 kB / 386.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.026e-06/0.4807, allocations: 0 / 386.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002579/0.4833, allocations: 0.8402 MB / 387.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.4833, allocations: 82.8 kB / 387.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.4838, allocations: 314.6 kB / 388.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.4839, allocations: 36.8 kB / 388.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.484, allocations: 220.9 kB / 388.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4842, allocations: 135.4 kB / 388.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4843, allocations: 91.64 kB / 388.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4844, allocations: 346.1 kB / 389 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.4847, allocations: 124.1 kB / 389.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.4851, allocations: 250.2 kB / 389.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.4857, allocations: 383.3 kB / 389.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4857, allocations: 5.094 kB / 389.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00114/0.4868, allocations: 0.5055 MB / 390.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.4869, allocations: 7.234 kB / 390.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4869, allocations: 10.53 kB / 390.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/0.4876, allocations: 145.7 kB / 390.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.4879, allocations: 64.84 kB / 390.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.4919, allocations: 2.561 MB / 393 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.4923, allocations: 43.64 kB / 393.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.4924, allocations: 14.44 kB / 393.1 MB, free: 2.305 MB / 318.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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000394/0.4928, allocations: 181.6 kB / 393.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.4928, allocations: 39.5 kB / 393.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.493, allocations: 50.61 kB / 393.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.493, allocations: 4.844 kB / 393.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.493, allocations: 5.156 kB / 393.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.493, allocations: 4.266 kB / 393.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.4949, allocations: 1.027 MB / 394.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4949, allocations: 0 / 394.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.4951, allocations: 38.8 kB / 394.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.4955, allocations: 140.4 kB / 394.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.4956, allocations: 10.56 kB / 394.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.4991, allocations: 2.54 MB / 397.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4992, allocations: 2.094 kB / 397.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5005, allocations: 0.7178 MB / 397.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.5008, allocations: 151.5 kB / 398 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.5008, allocations: 12.67 kB / 398 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.5011, allocations: 16.5 kB / 398 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5012, allocations: 36.7 kB / 398 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.5013, allocations: 13.75 kB / 398 MB, free: 14.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.5016, allocations: 222.3 kB / 398.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5016, allocations: 0 / 398.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009493/0.5026, allocations: 147.7 kB / 398.4 MB, free: 14.63 MB / 334.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: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.5029, allocations: 121.7 kB / 398.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.5046, allocations: 0.5403 MB / 399.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5046, allocations: 0 / 399.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.5054, allocations: 380.1 kB / 399.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.5061, allocations: 79.84 kB / 399.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.5082, allocations: 0.8658 MB / 400.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.5087, allocations: 0.8267 MB / 401.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.5089, allocations: 41.38 kB / 401.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.509, allocations: 31.48 kB / 401.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of SimCode: time 6.12e-07/0.509, allocations: 0 / 401.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Templates: time 0.01552/0.5245, allocations: 6.985 MB / 408.3 MB, free: 10.15 MB / 334.1 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)