Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001899/0.001899, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002225/0.002225, allocations: 187.9 kB / 16.25 MB, free: 6.617 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.95/1.95, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.002139/0.002139, allocations: 51.92 kB / 278.2 MB, free: 12.6 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3794, allocations: 46.63 MB / 324.9 MB, free: 2.004 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005928/0.3854, allocations: 3.685 MB / 328.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.388, allocations: 0.9395 MB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.3884, allocations: 7.531 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.3888, allocations: 58.69 kB / 329.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006084/0.3894, allocations: 126.4 kB / 329.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.39, allocations: 136.8 kB / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009388/0.391, allocations: 0.6067 MB / 330.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.3915, allocations: 216.4 kB / 330.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.3919, allocations: 219.3 kB / 330.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.3924, allocations: 253 kB / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3925, allocations: 54.22 kB / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3926, allocations: 54.75 kB / 331.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3928, allocations: 121.5 kB / 331.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.3931, allocations: 265.2 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008037/0.3939, allocations: 0.6128 MB / 332.2 MB, free: 12.49 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3939, allocations: 3.938 kB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3939, allocations: 0.75 kB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.394, allocations: 0 / 332.2 MB, free: 12.48 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.001711/0.3957, allocations: 0.771 MB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/0.3958, allocations: 9.25 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3959, allocations: 57 kB / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.3966, allocations: 366.9 kB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.3966, allocations: 29.38 kB / 333.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.3967, allocations: 48.36 kB / 333.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.3976, allocations: 453.5 kB / 333.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.3976, allocations: 4 kB / 333.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.3977, allocations: 16 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.3977, allocations: 12 kB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.3983, allocations: 323.7 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.4011, allocations: 1.824 MB / 336.1 MB, free: 8.641 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008796/0.402, allocations: 0.6163 MB / 336.7 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.4026, allocations: 269.4 kB / 337 MB, free: 7.695 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.4026, allocations: 4.328 kB / 337 MB, free: 7.691 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005051/0.4032, allocations: 273.2 kB / 337.2 MB, free: 7.406 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.975e-06/0.4032, allocations: 0 / 337.2 MB, free: 7.406 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.00237/0.4055, allocations: 0.8355 MB / 338.1 MB, free: 6.543 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.4057, allocations: 97.05 kB / 338.2 MB, free: 6.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.4061, allocations: 316.4 kB / 338.5 MB, free: 6.105 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.4061, allocations: 33.7 kB / 338.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.4063, allocations: 216.4 kB / 338.7 MB, free: 5.852 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4065, allocations: 134 kB / 338.8 MB, free: 5.719 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.4066, allocations: 82.25 kB / 338.9 MB, free: 5.633 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4068, allocations: 350.7 kB / 339.3 MB, free: 5.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.4071, allocations: 121.1 kB / 339.4 MB, free: 5.164 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.4074, allocations: 253 kB / 339.6 MB, free: 4.859 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.408, allocations: 382.1 kB / 340 MB, free: 4.434 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.408, allocations: 0 / 340 MB, free: 4.434 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008642/0.4089, allocations: 0.506 MB / 340.5 MB, free: 3.918 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4089, allocations: 8 kB / 340.5 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4089, allocations: 4 kB / 340.5 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.4095, allocations: 159.7 kB / 340.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.4097, allocations: 59.91 kB / 340.7 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.413, allocations: 2.547 MB / 343.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.4133, allocations: 43.62 kB / 343.3 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4134, allocations: 19.94 kB / 343.3 MB, free: 0.9453 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 (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.0003268/0.4137, allocations: 177.8 kB / 343.5 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.4138, allocations: 43.53 kB / 343.6 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.471e-05/0.4139, allocations: 40.3 kB / 343.6 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4139, allocations: 11.94 kB / 343.6 MB, free: 0.668 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4139, allocations: 0 / 343.6 MB, free: 0.668 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4139, allocations: 3.984 kB / 343.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.4156, allocations: 1.024 MB / 344.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4156, allocations: 0 / 344.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.4158, allocations: 31.98 kB / 344.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.4162, allocations: 148.6 kB / 344.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.4162, allocations: 12 kB / 344.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.4191, allocations: 2.534 MB / 347.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4192, allocations: 8 kB / 347.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4203, allocations: 0.7155 MB / 348.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.4206, allocations: 152.6 kB / 348.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.4207, allocations: 7.938 kB / 348.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4209, allocations: 23.98 kB / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.421, allocations: 31.95 kB / 348.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.4211, allocations: 15.98 kB / 348.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.4213, allocations: 219.1 kB / 348.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4213, allocations: 0 / 348.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.4221, allocations: 143.7 kB / 348.7 MB, free: 11.36 MB / 286.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.0002067/0.4223, allocations: 115.8 kB / 348.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.4234, allocations: 0.5484 MB / 349.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4235, allocations: 0.9375 kB / 349.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.424, allocations: 374.3 kB / 349.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.4245, allocations: 76.98 kB / 349.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4265, allocations: 1.044 MB / 350.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.4271, allocations: 0.824 MB / 351.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.4273, allocations: 35.31 kB / 351.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.4274, allocations: 35.42 kB / 351.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4274, allocations: 0 / 351.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of Templates: time 0.01399/0.4414, allocations: 6.774 MB / 358.5 MB, free: 1.445 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)