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.001575/0.001576, 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.002425/0.002425, allocations: 195.8 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.767/1.767, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001224/0.001224, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.353, allocations: 46.63 MB / 325.3 MB, free: 2.082 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.01039/0.3635, allocations: 6.186 MB / 331.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.3699, allocations: 1.685 MB / 333.2 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.3724, allocations: 44.31 kB / 333.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3737, allocations: 295.4 kB / 333.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.3765, allocations: 420 kB / 333.9 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3777, allocations: 352.2 kB / 334.3 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004061/0.3818, allocations: 2.141 MB / 336.4 MB, free: 8.941 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.3851, allocations: 2.38 MB / 338.8 MB, free: 6.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.3873, allocations: 1.02 MB / 339.8 MB, free: 5.477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.39, allocations: 1.218 MB / 341 MB, free: 4.254 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006764/0.3907, allocations: 288 kB / 341.3 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.392, allocations: 431.7 kB / 341.7 MB, free: 3.551 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.3928, allocations: 0.7052 MB / 342.4 MB, free: 2.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.3949, allocations: 1.221 MB / 343.6 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00462/0.3995, allocations: 3.583 MB / 347.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3996, allocations: 4 kB / 347.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3996, allocations: 0 / 347.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001246/0.3997, allocations: 0 / 347.2 MB, free: 14.02 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.007108/0.4068, allocations: 2.457 MB / 349.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.467e-05/0.4069, allocations: 15.97 kB / 349.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000728/0.4077, allocations: 234.1 kB / 349.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.4101, allocations: 1.174 MB / 351.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.4103, allocations: 156.5 kB / 351.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.4106, allocations: 200.1 kB / 351.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005603/0.4163, allocations: 2.618 MB / 354.1 MB, free: 6.977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.4164, allocations: 3.938 kB / 354.1 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.4166, allocations: 88 kB / 354.2 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/0.4166, allocations: 52 kB / 354.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/0.4208, allocations: 2.081 MB / 356.3 MB, free: 4.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.4367, allocations: 7.412 MB / 363.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.4399, allocations: 2.343 MB / 366.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.4417, allocations: 0.9394 MB / 367 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-05/0.4418, allocations: 12.94 kB / 367 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/0.4419, allocations: 47.55 kB / 367.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 7.824e-06/0.4419, allocations: 0 / 367.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.01006/0.452, allocations: 4.177 MB / 371.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.4521, allocations: 72.33 kB / 371.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4541, allocations: 0.8602 MB / 372.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.4542, allocations: 41.7 kB / 372.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.455, allocations: 0.8295 MB / 373 MB, free: 3.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.4554, allocations: 323.3 kB / 373.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.4559, allocations: 178.5 kB / 373.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.4561, allocations: 345.9 kB / 373.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/0.4571, allocations: 493.7 kB / 374.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.4583, allocations: 0.6733 MB / 375 MB, free: 1.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.4604, allocations: 1.201 MB / 376.2 MB, free: 80 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.4604, allocations: 4 kB / 376.2 MB, free: 76 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00392/0.4644, allocations: 1.624 MB / 377.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.4645, allocations: 11.98 kB / 377.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.4645, allocations: 4 kB / 377.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.4659, allocations: 466.9 kB / 378.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.4667, allocations: 175.7 kB / 378.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.4799, allocations: 9.308 MB / 387.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.4809, allocations: 39.97 kB / 387.8 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.4811, allocations: 39.98 kB / 387.9 MB, free: 3.828 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.001707/0.4828, allocations: 0.6301 MB / 388.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.4833, allocations: 110.8 kB / 388.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.4838, allocations: 130 kB / 388.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.058e-05/0.4839, allocations: 15.98 kB / 388.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.4839, allocations: 4 kB / 388.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.484, allocations: 3.984 kB / 388.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007769/0.4917, allocations: 3.504 MB / 392.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.4918, allocations: 8 kB / 392.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.4925, allocations: 119.9 kB / 392.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.4937, allocations: 459.2 kB / 392.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.4938, allocations: 23.98 kB / 392.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/0.5049, allocations: 9.206 MB / 402.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.505, allocations: 0 / 402.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/0.5097, allocations: 2.315 MB / 404.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009145/0.5106, allocations: 275.8 kB / 404.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.511, allocations: 20 kB / 404.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/0.5116, allocations: 43.95 kB / 404.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/0.512, allocations: 88.81 kB / 404.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.5121, allocations: 24 kB / 404.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.5133, allocations: 0.6122 MB / 405.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5133, allocations: 0 / 405.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002228/0.5155, allocations: 380 kB / 405.8 MB, free: 1.172 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.0005763/0.5161, allocations: 147 kB / 405.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004649/0.5208, allocations: 2.096 MB / 408 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.5208, allocations: 1.312 kB / 408 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.523, allocations: 1.242 MB / 409.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.5255, allocations: 302.9 kB / 409.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009784/0.5353, allocations: 3.632 MB / 413.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/0.5379, allocations: 1.718 MB / 414.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008995/0.5388, allocations: 188.9 kB / 415.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.5391, allocations: 71.42 kB / 415.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5391, allocations: 0 / 415.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of Templates: time 0.05084/0.5899, allocations: 20.7 MB / 435.9 MB, free: 2.855 MB / 366.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)