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.001651/0.001651, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001996, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.649/1.649, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.001342/0.001342, allocations: 47.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2221, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004522/0.2267, allocations: 3.655 MB / 329 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2285, allocations: 0.9516 MB / 329.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.2289, allocations: 10.56 kB / 330 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.2293, allocations: 77.92 kB / 330 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.2298, allocations: 142.5 kB / 330.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.2302, allocations: 164.5 kB / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.231, allocations: 0.5995 MB / 330.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.2314, allocations: 215.4 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.2318, allocations: 222.6 kB / 331.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.2323, allocations: 245.5 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.2324, allocations: 54.75 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2325, allocations: 55.06 kB / 331.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2327, allocations: 121.6 kB / 331.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.233, allocations: 259.5 kB / 332.1 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.2336, allocations: 0.6131 MB / 332.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2337, allocations: 5.531 kB / 332.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2337, allocations: 0 / 332.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.2337, allocations: 0 / 332.7 MB, free: 12.29 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.001609/0.2353, allocations: 0.7781 MB / 333.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2354, allocations: 9.562 kB / 333.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.2355, allocations: 56.06 kB / 333.5 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.236, allocations: 362.6 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.2361, allocations: 33.38 kB / 333.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.2362, allocations: 40.38 kB / 334 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.237, allocations: 457.5 kB / 334.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.237, allocations: 0 / 334.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.237, allocations: 23.98 kB / 334.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2371, allocations: 8 kB / 334.4 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.2378, allocations: 319.8 kB / 334.8 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2405, allocations: 1.828 MB / 336.6 MB, free: 8.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.2415, allocations: 0.6169 MB / 337.2 MB, free: 7.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.2421, allocations: 273.4 kB / 337.5 MB, free: 7.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.2422, allocations: 4.328 kB / 337.5 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/0.2428, allocations: 269.2 kB / 337.7 MB, free: 7.195 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.554e-06/0.2428, allocations: 3.938 kB / 337.7 MB, free: 7.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002357/0.2452, allocations: 0.8394 MB / 338.6 MB, free: 6.324 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2453, allocations: 89.06 kB / 338.7 MB, free: 6.219 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.2457, allocations: 316.4 kB / 339 MB, free: 5.895 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.2457, allocations: 33.7 kB / 339 MB, free: 5.855 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2459, allocations: 220.4 kB / 339.2 MB, free: 5.637 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.2461, allocations: 138 kB / 339.4 MB, free: 5.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.2462, allocations: 86.25 kB / 339.4 MB, free: 5.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2464, allocations: 350.7 kB / 339.8 MB, free: 5.059 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.2466, allocations: 121 kB / 339.9 MB, free: 4.941 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.2469, allocations: 249 kB / 340.1 MB, free: 4.641 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.2475, allocations: 378.1 kB / 340.5 MB, free: 4.219 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2475, allocations: 4 kB / 340.5 MB, free: 4.215 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009483/0.2485, allocations: 0.5017 MB / 341 MB, free: 3.703 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2485, allocations: 4 kB / 341 MB, free: 3.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2485, allocations: 4 kB / 341 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.249, allocations: 160.1 kB / 341.2 MB, free: 3.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2493, allocations: 63.91 kB / 341.2 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.2522, allocations: 2.549 MB / 343.8 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.2526, allocations: 39.62 kB / 343.8 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2526, allocations: 20 kB / 343.8 MB, free: 0.7305 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.000241/0.2529, allocations: 170 kB / 344 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/0.253, allocations: 47.47 kB / 344.1 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2531, allocations: 52.3 kB / 344.1 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2531, allocations: 7.938 kB / 344.1 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2531, allocations: 0 / 344.1 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2531, allocations: 0 / 344.1 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.2548, allocations: 1.024 MB / 345.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2548, allocations: 0 / 345.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.255, allocations: 39.91 kB / 345.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.2554, allocations: 151 kB / 345.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.2555, allocations: 8 kB / 345.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.2583, allocations: 2.531 MB / 347.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2583, allocations: 0 / 347.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.2595, allocations: 0.7194 MB / 348.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.2597, allocations: 148.6 kB / 348.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.2598, allocations: 16.22 kB / 348.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.2601, allocations: 11.98 kB / 348.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.2602, allocations: 35.95 kB / 348.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.2602, allocations: 12 kB / 348.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.2605, allocations: 223.1 kB / 349 MB, free: 11.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2605, allocations: 0 / 349 MB, free: 11.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006449/0.2611, allocations: 147.6 kB / 349.2 MB, free: 11.15 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.0001749/0.2613, allocations: 127.8 kB / 349.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.2624, allocations: 0.5485 MB / 349.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2624, allocations: 0 / 349.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.2629, allocations: 379.1 kB / 350.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2634, allocations: 77 kB / 350.3 MB, free: 9.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2652, allocations: 0.8522 MB / 351.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.2657, allocations: 0.824 MB / 352 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.2659, allocations: 43.3 kB / 352 MB, free: 8.223 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.266, allocations: 23.44 kB / 352 MB, free: 8.199 MB / 286.1 MB Notification: Performance of SimCode: time 8.51e-07/0.266, allocations: 4 kB / 352 MB, free: 8.195 MB / 286.1 MB Notification: Performance of Templates: time 0.01322/0.2792, allocations: 6.882 MB / 358.9 MB, free: 1.305 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)