Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005245/0.005245, allocations: 104.3 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.001108/0.001108, 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.744/1.744, 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.001488/0.001488, allocations: 45.94 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1247, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008751/0.1335, allocations: 6.18 MB / 379.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004934/0.1385, allocations: 1.698 MB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.1403, allocations: 35.81 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.1417, allocations: 301.6 kB / 381.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.1446, allocations: 433.2 kB / 381.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1459, allocations: 347.5 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003802/0.1497, allocations: 2.156 MB / 384.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004036/0.1538, allocations: 2.386 MB / 386.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.1559, allocations: 1.032 MB / 387.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.1588, allocations: 1.214 MB / 388.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.1599, allocations: 288 kB / 389.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.161, allocations: 423.8 kB / 389.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007389/0.1618, allocations: 0.7052 MB / 390.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.1634, allocations: 1.229 MB / 391.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004433/0.1679, allocations: 3.626 MB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.1679, allocations: 0 / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1679, allocations: 0 / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.352e-05/0.168, allocations: 0 / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004852/0.1729, allocations: 2.46 MB / 397.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.1729, allocations: 8.031 kB / 397.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.1734, allocations: 234.2 kB / 397.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.1753, allocations: 1.178 MB / 399 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.1755, allocations: 152.5 kB / 399.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.1757, allocations: 208.1 kB / 399.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.1801, allocations: 2.614 MB / 402 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.1801, allocations: 0 / 402 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.1803, allocations: 88 kB / 402.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/0.1804, allocations: 52 kB / 402.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.1841, allocations: 2.085 MB / 404.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.1964, allocations: 7.31 MB / 411.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.1992, allocations: 2.354 MB / 413.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.2008, allocations: 0.9434 MB / 414.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/0.2009, allocations: 16.94 kB / 414.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2009, allocations: 43.56 kB / 414.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 4.849e-06/0.2009, allocations: 0 / 414.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008461/0.2094, allocations: 4.173 MB / 419.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.2095, allocations: 72.34 kB / 419.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.2113, allocations: 0.8601 MB / 420 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/0.2114, allocations: 41.7 kB / 420 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/0.2121, allocations: 0.8217 MB / 420.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.2124, allocations: 327.3 kB / 421.2 MB, free: 352 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.2127, allocations: 182.5 kB / 421.4 MB, free: 164 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2129, allocations: 345.9 kB / 421.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.2137, allocations: 497.7 kB / 422.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.2146, allocations: 0.6733 MB / 422.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.2163, allocations: 1.209 MB / 424.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2163, allocations: 0 / 424.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002698/0.219, allocations: 1.62 MB / 425.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.219, allocations: 13.03 kB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2191, allocations: 4 kB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.2203, allocations: 470.9 kB / 426.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.221, allocations: 175.8 kB / 426.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.2321, allocations: 9.28 MB / 435.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.2332, allocations: 47.95 kB / 435.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.2334, allocations: 44.05 kB / 435.7 MB, free: 1.086 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001502/0.235, allocations: 0.6421 MB / 436.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.2353, allocations: 102.8 kB / 436.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.2357, allocations: 134 kB / 436.6 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.2357, allocations: 12 kB / 436.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.2357, allocations: 0 / 436.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.2357, allocations: 7.922 kB / 436.6 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.2437, allocations: 3.474 MB / 440.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.2437, allocations: 4 kB / 440.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.2444, allocations: 127.8 kB / 440.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.2458, allocations: 462.9 kB / 440.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-05/0.2459, allocations: 16 kB / 440.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.2573, allocations: 9.214 MB / 449.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2574, allocations: 0 / 449.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3832/0.6407, allocations: 2.302 MB / 452.2 MB, free: 68.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.6422, allocations: 278.5 kB / 452.5 MB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.6424, allocations: 19.88 kB / 452.5 MB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.6431, allocations: 43.05 kB / 452.5 MB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/0.6435, allocations: 92.61 kB / 452.6 MB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.6437, allocations: 27.33 kB / 452.6 MB, free: 68.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001783/0.6454, allocations: 0.6037 MB / 453.2 MB, free: 68.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6455, allocations: 0 / 453.2 MB, free: 68.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00347/0.6489, allocations: 376.1 kB / 453.6 MB, free: 68.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000561/0.6495, allocations: 151 kB / 453.8 MB, free: 68.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004752/0.6543, allocations: 1.823 MB / 455.6 MB, free: 67.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6543, allocations: 1.406 kB / 455.6 MB, free: 67.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.6566, allocations: 1.239 MB / 456.8 MB, free: 67.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.6584, allocations: 302.2 kB / 457.1 MB, free: 67.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008394/0.6668, allocations: 3.593 MB / 460.7 MB, free: 66.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/0.6694, allocations: 1.713 MB / 462.4 MB, free: 65.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.6705, allocations: 190.8 kB / 462.6 MB, free: 65.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.6707, allocations: 69.62 kB / 462.7 MB, free: 65.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.993e-06/0.6707, allocations: 0 / 462.7 MB, free: 65.38 MB / 382.1 MB Notification: Performance of Templates: time 0.03793/0.7087, allocations: 21.06 MB / 483.7 MB, free: 52.02 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)