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.001089/0.001088, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00849/0.00849, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.909/1.909, allocations: 205.4 MB / 222.4 MB, free: 5.543 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.0005072/0.0005072, allocations: 11.98 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3563, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.01102/0.3674, allocations: 5.685 MB / 332.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00761/0.3751, allocations: 1.638 MB / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.3776, allocations: 36.75 kB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.379, allocations: 239.4 kB / 334.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.3822, allocations: 378.1 kB / 335 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3836, allocations: 296.7 kB / 335.3 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004306/0.3879, allocations: 2.275 MB / 337.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003711/0.3916, allocations: 1.972 MB / 339.5 MB, free: 6.773 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.3939, allocations: 0.7313 MB / 340.3 MB, free: 6.039 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.3964, allocations: 0.9604 MB / 341.2 MB, free: 5.074 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.3967, allocations: 124 kB / 341.3 MB, free: 4.953 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.3976, allocations: 263.7 kB / 341.6 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006993/0.3983, allocations: 0.502 MB / 342.1 MB, free: 4.191 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.4, allocations: 1.02 MB / 343.1 MB, free: 3.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00478/0.4048, allocations: 3.379 MB / 346.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4048, allocations: 0 / 346.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.4049, allocations: 3.938 kB / 346.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.578e-05/0.4049, allocations: 3.938 kB / 346.5 MB, free: 15.76 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.006868/0.4118, allocations: 2.078 MB / 348.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.4119, allocations: 12.03 kB / 348.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008451/0.4128, allocations: 230.2 kB / 348.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.4157, allocations: 1.166 MB / 350 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.4159, allocations: 156.5 kB / 350.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004425/0.4163, allocations: 212.1 kB / 350.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/0.4233, allocations: 2.614 MB / 353 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.095e-05/0.4234, allocations: 3.938 kB / 353 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.4237, allocations: 88 kB / 353 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.4238, allocations: 55.94 kB / 353.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.4293, allocations: 2.093 MB / 355.2 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.4475, allocations: 7.462 MB / 362.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.4511, allocations: 2.355 MB / 365 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.4533, allocations: 0.9433 MB / 366 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.4534, allocations: 12.94 kB / 366 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.4535, allocations: 43.56 kB / 366 MB, free: 11.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 5.631e-06/0.4535, allocations: 0 / 366 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.01247/0.466, allocations: 4.228 MB / 370.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.4661, allocations: 64.34 kB / 370.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.468, allocations: 0.8602 MB / 371.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-05/0.4682, allocations: 41.7 kB / 371.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008414/0.469, allocations: 0.8295 MB / 372 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.4695, allocations: 327.2 kB / 372.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.4697, allocations: 85.67 kB / 372.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.4699, allocations: 345.9 kB / 372.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.4712, allocations: 0.4938 MB / 373.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4726, allocations: 0.685 MB / 374 MB, free: 3.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.4753, allocations: 1.213 MB / 375.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4753, allocations: 3.938 kB / 375.2 MB, free: 2.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004279/0.4796, allocations: 1.628 MB / 376.8 MB, free: 500 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.4796, allocations: 8 kB / 376.8 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.4797, allocations: 4 kB / 376.8 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.4814, allocations: 474.9 kB / 377.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4825, allocations: 175.7 kB / 377.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.4949, allocations: 8.474 MB / 385.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.4962, allocations: 47.95 kB / 386 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.4963, allocations: 40.17 kB / 386 MB, free: 6.719 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.001828/0.4982, allocations: 0.6418 MB / 386.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.4986, allocations: 102.8 kB / 386.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.499, allocations: 142 kB / 386.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/0.499, allocations: 8 kB / 386.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.499, allocations: 4.469 kB / 386.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4991, allocations: 3.984 kB / 386.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009218/0.5083, allocations: 3.539 MB / 390.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5083, allocations: 0 / 390.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.5092, allocations: 131.9 kB / 390.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.5106, allocations: 454.9 kB / 391 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.5107, allocations: 24 kB / 391 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.523, allocations: 8.376 MB / 399.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.523, allocations: 0 / 399.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.5285, allocations: 2.328 MB / 401.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/0.5294, allocations: 275.8 kB / 402 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.5296, allocations: 23.98 kB / 402 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.5302, allocations: 43.95 kB / 402.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/0.5306, allocations: 88.91 kB / 402.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/0.5307, allocations: 32.05 kB / 402.2 MB, free: 5.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001246/0.5319, allocations: 0.6083 MB / 402.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5319, allocations: 3.938 kB / 402.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002362/0.5343, allocations: 380 kB / 403.2 MB, free: 4.852 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.0004453/0.5348, allocations: 147.2 kB / 403.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.5388, allocations: 1.816 MB / 405.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.5389, allocations: 8.125 kB / 405.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.5417, allocations: 1.242 MB / 406.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.5445, allocations: 275 kB / 406.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.5554, allocations: 4.571 MB / 411.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.5578, allocations: 1.722 MB / 412.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.5589, allocations: 188.9 kB / 413.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.5591, allocations: 63.42 kB / 413.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5592, allocations: 0 / 413.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Templates: time 0.04708/0.6062, allocations: 19.34 MB / 432.5 MB, free: 7.27 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)