Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007256/0.007256, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001469/0.001469, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.00122/0.00122, allocations: 50.89 kB / 326.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008183/0.1412, allocations: 6.168 MB / 379.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.146, allocations: 1.695 MB / 381 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.1473, allocations: 39.81 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.1483, allocations: 301.6 kB / 381.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.1501, allocations: 429.2 kB / 381.8 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.151, allocations: 351.5 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.1536, allocations: 2.156 MB / 384.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.1565, allocations: 2.394 MB / 386.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.1587, allocations: 1.028 MB / 387.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.1619, allocations: 1.206 MB / 388.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007215/0.1627, allocations: 292 kB / 389.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.164, allocations: 431.7 kB / 389.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008332/0.1648, allocations: 0.7013 MB / 390.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.1665, allocations: 1.225 MB / 391.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.1711, allocations: 3.622 MB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.1712, allocations: 0 / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1712, allocations: 0 / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001218/0.1713, allocations: 3.938 kB / 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.005773/0.1771, allocations: 2.464 MB / 397.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.1772, allocations: 8.031 kB / 397.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.1777, allocations: 230.2 kB / 397.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.1798, allocations: 1.182 MB / 399.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1799, allocations: 156.5 kB / 399.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.1802, allocations: 208.1 kB / 399.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/0.1847, allocations: 2.61 MB / 402 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.1848, allocations: 4 kB / 402 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.1849, allocations: 88 kB / 402.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-05/0.185, allocations: 52 kB / 402.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.1885, allocations: 2.081 MB / 404.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.2009, allocations: 7.31 MB / 411.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.2036, allocations: 2.347 MB / 413.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.2053, allocations: 0.9395 MB / 414.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.2054, allocations: 16.94 kB / 414.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.2054, allocations: 47.5 kB / 414.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.656e-06/0.2054, allocations: 4 kB / 414.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008307/0.2137, allocations: 4.173 MB / 419.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.2138, allocations: 68.34 kB / 419.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.2152, allocations: 0.864 MB / 420 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.2153, allocations: 41.7 kB / 420 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000685/0.216, allocations: 0.8295 MB / 420.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.2163, allocations: 323.3 kB / 421.2 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.2166, allocations: 174.6 kB / 421.4 MB, free: 168 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2168, allocations: 345.9 kB / 421.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008037/0.2176, allocations: 497.7 kB / 422.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.2186, allocations: 0.6772 MB / 422.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.2204, allocations: 1.201 MB / 424.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2204, allocations: 3.938 kB / 424.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002745/0.2231, allocations: 1.628 MB / 425.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2232, allocations: 9.094 kB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.2232, allocations: 4 kB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.2244, allocations: 474.9 kB / 426.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.2251, allocations: 171.7 kB / 426.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.2363, allocations: 9.288 MB / 435.6 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.2373, allocations: 43.95 kB / 435.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.2374, allocations: 36 kB / 435.7 MB, free: 1.09 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.001641/0.239, allocations: 0.6378 MB / 436.3 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.2394, allocations: 110.8 kB / 436.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.2398, allocations: 134 kB / 436.6 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.2398, allocations: 12 kB / 436.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.2398, allocations: 0 / 436.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.2398, allocations: 3.984 kB / 436.6 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007645/0.2475, allocations: 3.481 MB / 440.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.2476, allocations: 3.938 kB / 440.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.2482, allocations: 123.8 kB / 440.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.2494, allocations: 463.3 kB / 440.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.2494, allocations: 19.98 kB / 440.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.2606, allocations: 9.21 MB / 449.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2606, allocations: 0 / 449.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3459/0.6065, allocations: 2.307 MB / 452.2 MB, free: 69.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.6074, allocations: 275.8 kB / 452.5 MB, free: 69.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.6076, allocations: 17.72 kB / 452.5 MB, free: 69.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.6082, allocations: 42.19 kB / 452.5 MB, free: 69.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003471/0.6085, allocations: 87.47 kB / 452.6 MB, free: 69.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/0.6086, allocations: 24.45 kB / 452.6 MB, free: 69.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.6101, allocations: 0.6065 MB / 453.2 MB, free: 69.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.804e-06/0.6101, allocations: 3.656 kB / 453.2 MB, free: 69.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002872/0.613, allocations: 384.1 kB / 453.6 MB, free: 69.06 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.0003704/0.6134, allocations: 149.1 kB / 453.8 MB, free: 68.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.6168, allocations: 1.819 MB / 455.6 MB, free: 68.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6168, allocations: 1.25 kB / 455.6 MB, free: 68.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.6188, allocations: 1.241 MB / 456.8 MB, free: 68.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.6203, allocations: 300.6 kB / 457.1 MB, free: 68.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.6282, allocations: 3.583 MB / 460.7 MB, free: 66.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/0.6304, allocations: 1.718 MB / 462.4 MB, free: 65.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001044/0.6314, allocations: 190.5 kB / 462.6 MB, free: 65.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.6317, allocations: 65.31 kB / 462.7 MB, free: 65.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6317, allocations: 0 / 462.7 MB, free: 65.67 MB / 382.1 MB Notification: Performance of Templates: time 0.04051/0.6722, allocations: 21.06 MB / 483.7 MB, free: 52.2 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)