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.001058/0.001062, allocations: 108 kB / 15.61 MB, free: 152 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.001327/0.001327, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.567/1.567, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001211/0.001211, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2579, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007261/0.2652, allocations: 6.183 MB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.2689, allocations: 1.69 MB / 333.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007742/0.2697, allocations: 39.53 kB / 333.2 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006414/0.2704, allocations: 291.4 kB / 333.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.272, allocations: 425 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.2727, allocations: 348.2 kB / 334.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.2752, allocations: 2.146 MB / 336.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.2779, allocations: 2.379 MB / 338.8 MB, free: 6.344 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.2793, allocations: 1.016 MB / 339.8 MB, free: 5.324 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.2808, allocations: 1.222 MB / 341 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.2812, allocations: 288 kB / 341.3 MB, free: 3.816 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007521/0.2819, allocations: 423.8 kB / 341.7 MB, free: 3.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.2826, allocations: 0.7052 MB / 342.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.284, allocations: 1.225 MB / 343.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.2876, allocations: 3.579 MB / 347.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2877, allocations: 4 kB / 347.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2877, allocations: 0 / 347.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.97e-05/0.2878, allocations: 0 / 347.2 MB, free: 13.87 MB / 286.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.004866/0.2926, allocations: 2.464 MB / 349.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2927, allocations: 15.97 kB / 349.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.2931, allocations: 238.1 kB / 349.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.295, allocations: 1.166 MB / 351.1 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2951, allocations: 156.5 kB / 351.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.2954, allocations: 208.1 kB / 351.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.2997, allocations: 2.61 MB / 354.1 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.2997, allocations: 0 / 354.1 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.2999, allocations: 88 kB / 354.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.3, allocations: 52 kB / 354.2 MB, free: 6.688 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/0.3034, allocations: 2.081 MB / 356.3 MB, free: 4.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.3146, allocations: 7.415 MB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.317, allocations: 2.346 MB / 366.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.3184, allocations: 0.9393 MB / 367 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.3185, allocations: 12.94 kB / 367 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.3185, allocations: 43.56 kB / 367 MB, free: 9.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.176e-06/0.3186, allocations: 0 / 367 MB, free: 9.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.008642/0.3272, allocations: 4.177 MB / 371.2 MB, free: 5.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3273, allocations: 64.34 kB / 371.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3286, allocations: 0.8641 MB / 372.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.3287, allocations: 45.69 kB / 372.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.3294, allocations: 0.8256 MB / 373 MB, free: 3.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.3297, allocations: 327.2 kB / 373.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/0.3301, allocations: 182.5 kB / 373.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3303, allocations: 345.9 kB / 373.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008987/0.3312, allocations: 493.7 kB / 374.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00095/0.3321, allocations: 0.6733 MB / 375 MB, free: 1.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.3341, allocations: 1.209 MB / 376.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3341, allocations: 0 / 376.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002944/0.3371, allocations: 1.62 MB / 377.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.3371, allocations: 8 kB / 377.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.3371, allocations: 4 kB / 377.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3383, allocations: 470.9 kB / 378.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.339, allocations: 167.8 kB / 378.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.3491, allocations: 9.312 MB / 387.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.3496, allocations: 43.95 kB / 387.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.3497, allocations: 36 kB / 387.9 MB, free: 3.676 MB / 318.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.001234/0.351, allocations: 0.6457 MB / 388.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.3512, allocations: 102.8 kB / 388.6 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3515, allocations: 138 kB / 388.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.3516, allocations: 8 kB / 388.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.3516, allocations: 4 kB / 388.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.3516, allocations: 3.984 kB / 388.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/0.3577, allocations: 3.493 MB / 392.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.3577, allocations: 8 kB / 392.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.3583, allocations: 123.8 kB / 392.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009674/0.3592, allocations: 462.9 kB / 392.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.3593, allocations: 19.98 kB / 392.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008749/0.3681, allocations: 9.203 MB / 402.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3681, allocations: 4.031 kB / 402.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.3714, allocations: 2.311 MB / 404.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.3718, allocations: 275.8 kB / 404.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.372, allocations: 16 kB / 404.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.3725, allocations: 47.95 kB / 404.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.3728, allocations: 92.73 kB / 404.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.3728, allocations: 28 kB / 404.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.3736, allocations: 0.6044 MB / 405.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3736, allocations: 0 / 405.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001516/0.3751, allocations: 380 kB / 405.8 MB, free: 1.023 MB / 334.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.0002998/0.3755, allocations: 147.2 kB / 405.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.3789, allocations: 2.104 MB / 408 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3789, allocations: 1.312 kB / 408.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.3806, allocations: 1.238 MB / 409.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3819, allocations: 295.1 kB / 409.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007118/0.389, allocations: 3.636 MB / 413.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.3912, allocations: 1.722 MB / 414.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006036/0.3918, allocations: 184.9 kB / 415.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.392, allocations: 71.44 kB / 415.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.392, allocations: 3.938 kB / 415.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of Templates: time 0.03832/0.4304, allocations: 20.71 MB / 435.9 MB, free: 2.699 MB / 366.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)