Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01264/0.01264, allocations: 103.9 kB / 15.73 MB, free: 5.992 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.001875/0.001875, allocations: 187 kB / 16.67 MB, free: 5.93 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.819/1.819, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001431/0.001431, allocations: 54.22 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1276, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006863/0.1345, allocations: 4.659 MB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.1382, allocations: 1.34 MB / 379.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1396, allocations: 23.88 kB / 379.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1409, allocations: 226.4 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1425, allocations: 354 kB / 379.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.1433, allocations: 215.6 kB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.1456, allocations: 1.549 MB / 381.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.1471, allocations: 0.9137 MB / 382.5 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.1486, allocations: 0.6424 MB / 383.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.1509, allocations: 0.7511 MB / 383.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007353/0.1517, allocations: 164 kB / 384 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.1525, allocations: 164 kB / 384.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009717/0.1535, allocations: 438.8 kB / 384.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.1553, allocations: 0.7195 MB / 385.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.1589, allocations: 2.076 MB / 387.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.159, allocations: 0 / 387.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.774e-06/0.159, allocations: 7.938 kB / 387.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.1591, allocations: 0 / 387.4 MB, free: 3.016 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006313/0.1655, allocations: 1.623 MB / 389 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.1655, allocations: 8.031 kB / 389 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.1661, allocations: 139.3 kB / 389.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.1681, allocations: 0.8762 MB / 390 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.1682, allocations: 70.38 kB / 390.1 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.1686, allocations: 100 kB / 390.2 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.1722, allocations: 1.439 MB / 391.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.1723, allocations: 3.984 kB / 391.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.1724, allocations: 36 kB / 391.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.373e-05/0.1725, allocations: 49.98 kB / 391.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/0.1756, allocations: 1.288 MB / 393 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008691/0.1843, allocations: 4.261 MB / 397.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.1867, allocations: 1.978 MB / 399.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.1882, allocations: 0.7314 MB / 400 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.1883, allocations: 8.656 kB / 400 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.1896, allocations: 0.6015 MB / 400.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 5.089e-06/0.1896, allocations: 3.938 kB / 400.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.00802/0.1976, allocations: 2.828 MB / 403.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.1978, allocations: 111.5 kB / 403.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.1997, allocations: 0.8207 MB / 404.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.1998, allocations: 41.7 kB / 404.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/0.2004, allocations: 491.7 kB / 404.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.2007, allocations: 240.5 kB / 405.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.201, allocations: 134.7 kB / 405.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.2013, allocations: 394.7 kB / 405.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/0.202, allocations: 397.7 kB / 406 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/0.2029, allocations: 0.5493 MB / 406.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.2044, allocations: 0.9153 MB / 407.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.2044, allocations: 0 / 407.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002523/0.207, allocations: 1.306 MB / 408.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.207, allocations: 8 kB / 408.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.207, allocations: 8.453 kB / 408.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.2083, allocations: 476.2 kB / 409.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.2087, allocations: 95.83 kB / 409.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/0.2168, allocations: 5.566 MB / 414.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.2177, allocations: 83.45 kB / 415 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.2179, allocations: 27.94 kB / 415 MB, free: 6.516 MB / 350.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0009175/0.2188, allocations: 467.1 kB / 415.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.219, allocations: 83.06 kB / 415.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.2194, allocations: 112.6 kB / 415.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2194, allocations: 12 kB / 415.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2194, allocations: 0 / 415.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2194, allocations: 3.984 kB / 415.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/0.2248, allocations: 2.59 MB / 418.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2248, allocations: 0 / 418.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.2252, allocations: 63.89 kB / 418.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.2265, allocations: 464.8 kB / 418.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.2266, allocations: 19.98 kB / 418.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008906/0.2356, allocations: 5.508 MB / 424.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2356, allocations: 0 / 424.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.2393, allocations: 1.909 MB / 426.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008178/0.2402, allocations: 279.9 kB / 426.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.2405, allocations: 12 kB / 426.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.2412, allocations: 43.95 kB / 426.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.2415, allocations: 72.53 kB / 426.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.2415, allocations: 23.98 kB / 426.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.2426, allocations: 0.5888 MB / 427.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2426, allocations: 0 / 427.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001608/0.2443, allocations: 343.1 kB / 427.6 MB, free: 9.711 MB / 366.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003605/0.2446, allocations: 123.2 kB / 427.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.2479, allocations: 1.278 MB / 429 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2479, allocations: 0 / 429 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.2497, allocations: 0.8442 MB / 429.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.2517, allocations: 274.5 kB / 430.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.2584, allocations: 2.298 MB / 432.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.2603, allocations: 1.322 MB / 433.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008296/0.2611, allocations: 147.3 kB / 433.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.2614, allocations: 51.44 kB / 433.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of SimCode: time 2.455e-06/0.2615, allocations: 0 / 433.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of Templates: time 0.2876/0.5491, allocations: 19.78 MB / 453.7 MB, free: 72.74 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)