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.01003/0.01003, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001305/0.001305, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.736/1.736, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001359/0.001359, allocations: 47.92 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1653, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006037/0.1714, allocations: 3.654 MB / 376.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3958/0.5672, allocations: 0.9572 MB / 377.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.5682, allocations: 11.53 kB / 377.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.5688, allocations: 74.44 kB / 377.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.5694, allocations: 143.8 kB / 378 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.5701, allocations: 161.2 kB / 378.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.571, allocations: 0.6062 MB / 378.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.5716, allocations: 212.7 kB / 379 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.572, allocations: 228 kB / 379.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.5725, allocations: 242.9 kB / 379.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.5726, allocations: 63.44 kB / 379.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.5728, allocations: 54.75 kB / 379.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.573, allocations: 115.8 kB / 379.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.5734, allocations: 263.5 kB / 379.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5746, allocations: 0.6299 MB / 380.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.5746, allocations: 0 / 380.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.5747, allocations: 0.5312 kB / 380.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.5747, allocations: 0 / 380.6 MB, free: 9.883 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.001905/0.5766, allocations: 0.7728 MB / 381.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.5767, allocations: 10.53 kB / 381.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.5768, allocations: 57 kB / 381.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.5773, allocations: 362.2 kB / 381.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.5773, allocations: 33.75 kB / 381.8 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.5774, allocations: 42.11 kB / 381.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.5783, allocations: 458.8 kB / 382.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5783, allocations: 3.906 kB / 382.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.5783, allocations: 18.16 kB / 382.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5784, allocations: 9.688 kB / 382.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.579, allocations: 324.5 kB / 382.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.5818, allocations: 1.81 MB / 384.4 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.5827, allocations: 0.6046 MB / 385 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.5835, allocations: 290.5 kB / 385.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.5835, allocations: 4.359 kB / 385.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/0.584, allocations: 269.4 kB / 385.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/0.5841, allocations: 2.672 kB / 385.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002656/0.5867, allocations: 0.8401 MB / 386.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.5868, allocations: 83.89 kB / 386.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.5872, allocations: 309.7 kB / 386.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.5873, allocations: 38.2 kB / 386.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.5875, allocations: 218.2 kB / 387.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.5876, allocations: 132.8 kB / 387.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.5877, allocations: 91.59 kB / 387.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5879, allocations: 349.4 kB / 387.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.5882, allocations: 120 kB / 387.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.5886, allocations: 251.1 kB / 388 MB, free: 5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.5892, allocations: 378.7 kB / 388.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.5892, allocations: 1.812 kB / 388.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001066/0.5903, allocations: 0.5087 MB / 388.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.5903, allocations: 9.141 kB / 388.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5904, allocations: 4.594 kB / 388.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.591, allocations: 152.9 kB / 389 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.5913, allocations: 59.83 kB / 389.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.5944, allocations: 2.555 MB / 391.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.5948, allocations: 39.55 kB / 391.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.5948, allocations: 18.62 kB / 391.7 MB, free: 2.336 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.0003071/0.5951, allocations: 177 kB / 391.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.5952, allocations: 41.41 kB / 391.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.5953, allocations: 46.2 kB / 392 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5953, allocations: 4.719 kB / 392 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5954, allocations: 3.938 kB / 392 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5954, allocations: 7.703 kB / 392 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.5971, allocations: 1.013 MB / 393 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5971, allocations: 9.938 kB / 393 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.5973, allocations: 39.34 kB / 393 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.5977, allocations: 146.3 kB / 393.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.5978, allocations: 12.09 kB / 393.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.6009, allocations: 2.537 MB / 395.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6009, allocations: 1.438 kB / 395.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.6024, allocations: 0.7175 MB / 396.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.6026, allocations: 151.7 kB / 396.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.6027, allocations: 11.17 kB / 396.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.6029, allocations: 16.44 kB / 396.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6031, allocations: 36.33 kB / 396.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.6031, allocations: 11.88 kB / 396.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.6034, allocations: 218.4 kB / 396.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6034, allocations: 4 kB / 396.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007981/0.6042, allocations: 142.7 kB / 397 MB, free: 14.65 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.0002303/0.6045, allocations: 117.9 kB / 397.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.6059, allocations: 0.5366 MB / 397.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6059, allocations: 1.312 kB / 397.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.6066, allocations: 379 kB / 398.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.6072, allocations: 81.3 kB / 398.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.6091, allocations: 0.8486 MB / 399 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.6097, allocations: 0.8275 MB / 399.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.6099, allocations: 45.31 kB / 399.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.61, allocations: 27.34 kB / 399.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.61, allocations: 0 / 399.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Templates: time 0.01702/0.6271, allocations: 6.987 MB / 406.9 MB, free: 10.18 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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)