Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001687/0.001687, allocations: 110.4 kB / 16.92 MB, free: 6.145 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.001532/0.001532, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.756/1.756, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001546/0.001546, allocations: 51.94 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1523, allocations: 46.62 MB / 326.6 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.01115/0.1635, allocations: 6.179 MB / 332.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.1692, allocations: 1.691 MB / 334.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.1712, allocations: 39.81 kB / 334.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1727, allocations: 301.5 kB / 334.8 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.1763, allocations: 417.3 kB / 335.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.1783, allocations: 355.5 kB / 335.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004803/0.1831, allocations: 2.133 MB / 337.7 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005526/0.1887, allocations: 2.378 MB / 340.1 MB, free: 6.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.1914, allocations: 1.024 MB / 341.1 MB, free: 5.852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.1949, allocations: 1.21 MB / 342.3 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.1962, allocations: 288 kB / 342.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.1984, allocations: 439.7 kB / 343 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.2, allocations: 0.7013 MB / 343.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.2024, allocations: 1.225 MB / 345 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.2072, allocations: 3.583 MB / 348.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2072, allocations: 0 / 348.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2073, allocations: 0 / 348.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.2074, allocations: 0 / 348.5 MB, free: 14.4 MB / 302.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.006498/0.2139, allocations: 2.472 MB / 351 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.214, allocations: 8.031 kB / 351 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.2146, allocations: 234.2 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.2169, allocations: 1.17 MB / 352.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.217, allocations: 152.5 kB / 352.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.2174, allocations: 204.1 kB / 352.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.2227, allocations: 2.61 MB / 355.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.2227, allocations: 0 / 355.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.2229, allocations: 84 kB / 355.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.136e-05/0.223, allocations: 52 kB / 355.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.227, allocations: 2.089 MB / 357.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.2401, allocations: 7.408 MB / 365 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.2433, allocations: 2.362 MB / 367.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.2449, allocations: 0.9393 MB / 368.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.245, allocations: 20.94 kB / 368.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.2451, allocations: 43.56 kB / 368.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 5.921e-06/0.2451, allocations: 0 / 368.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.01005/0.2551, allocations: 4.181 MB / 372.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.2552, allocations: 68.34 kB / 372.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.2572, allocations: 0.8602 MB / 373.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.2573, allocations: 41.7 kB / 373.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/0.2581, allocations: 0.8255 MB / 374.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/0.2585, allocations: 331.2 kB / 374.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.2589, allocations: 178.6 kB / 374.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2591, allocations: 345.9 kB / 375.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/0.26, allocations: 497.7 kB / 375.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.2612, allocations: 0.6655 MB / 376.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.2634, allocations: 1.201 MB / 377.5 MB, free: 452 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.2634, allocations: 4 kB / 377.5 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.3266/0.59, allocations: 1.616 MB / 379.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.5901, allocations: 10 kB / 379.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.5901, allocations: 7.641 kB / 379.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.5919, allocations: 471.2 kB / 379.6 MB, free: 51.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/0.5929, allocations: 173.2 kB / 379.8 MB, free: 51.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.6044, allocations: 9.299 MB / 389.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.6055, allocations: 42.94 kB / 389.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.6056, allocations: 35.78 kB / 389.2 MB, free: 44.47 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.001746/0.6073, allocations: 0.6397 MB / 389.8 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.6077, allocations: 110.4 kB / 389.9 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.608, allocations: 131.1 kB / 390 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.608, allocations: 11.64 kB / 390.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/0.608, allocations: 1.938 kB / 390.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.6081, allocations: 5.578 kB / 390.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00753/0.6156, allocations: 3.499 MB / 393.6 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.6157, allocations: 0 / 393.6 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.6163, allocations: 128.3 kB / 393.7 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.6176, allocations: 462.2 kB / 394.1 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.6176, allocations: 22.23 kB / 394.2 MB, free: 42.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008969/0.6266, allocations: 9.207 MB / 403.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6267, allocations: 0.9062 kB / 403.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.631, allocations: 2.305 MB / 405.7 MB, free: 33.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/0.6317, allocations: 285.6 kB / 406 MB, free: 33.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.6319, allocations: 19.97 kB / 406 MB, free: 33.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.6324, allocations: 43.61 kB / 406 MB, free: 33.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.6327, allocations: 84.78 kB / 406.1 MB, free: 33.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.6327, allocations: 27.77 kB / 406.1 MB, free: 33.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009977/0.6338, allocations: 0.6129 MB / 406.7 MB, free: 33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6338, allocations: 0 / 406.7 MB, free: 33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002294/0.6361, allocations: 380.5 kB / 407.1 MB, free: 32.96 MB / 318.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.0003533/0.6364, allocations: 145.5 kB / 407.3 MB, free: 32.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003984/0.6404, allocations: 2.095 MB / 409.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6405, allocations: 0 / 409.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.6421, allocations: 1.242 MB / 410.6 MB, free: 30.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6438, allocations: 304.6 kB / 410.9 MB, free: 29.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007686/0.6515, allocations: 3.645 MB / 414.5 MB, free: 26.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.653, allocations: 1.718 MB / 416.3 MB, free: 24.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008205/0.6539, allocations: 184.9 kB / 416.4 MB, free: 24.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.654, allocations: 67.42 kB / 416.5 MB, free: 24.31 MB / 318.1 MB Notification: Performance of SimCode: time 2.204e-06/0.6541, allocations: 0 / 416.5 MB, free: 24.31 MB / 318.1 MB Notification: Performance of Templates: time 0.03873/0.6928, allocations: 20.7 MB / 437.2 MB, free: 3.605 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)