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.001223/0.001223, allocations: 111.8 kB / 17.06 MB, free: 5.992 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.00128/0.00128, allocations: 196 kB / 18 MB, free: 5.074 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.72/1.72, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001435/0.001435, allocations: 55.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1386, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.3192/0.4578, allocations: 6.175 MB / 380.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.4628, allocations: 1.698 MB / 382.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.464, allocations: 35.38 kB / 382.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.4649, allocations: 296.1 kB / 382.7 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.467, allocations: 418.6 kB / 383.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.4682, allocations: 351.6 kB / 383.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004211/0.4724, allocations: 2.15 MB / 385.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004334/0.4767, allocations: 2.388 MB / 388 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.4795, allocations: 1.021 MB / 389 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.4827, allocations: 1.213 MB / 390.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007254/0.4835, allocations: 289.2 kB / 390.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.4849, allocations: 433.8 kB / 390.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009891/0.4859, allocations: 0.7 MB / 391.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.4882, allocations: 1.233 MB / 392.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.4955, allocations: 3.635 MB / 396.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.4956, allocations: 0 / 396.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4956, allocations: 0 / 396.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001728/0.4958, allocations: 6.781 kB / 396.5 MB, free: 3.305 MB / 318.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.007056/0.5028, allocations: 2.512 MB / 399 MB, free: 1.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5029, allocations: 8.906 kB / 399 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.5036, allocations: 249.5 kB / 399.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.5054, allocations: 1.183 MB / 400.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.5056, allocations: 154.9 kB / 400.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.5059, allocations: 207.5 kB / 400.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005473/0.5114, allocations: 2.621 MB / 403.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.5115, allocations: 0 / 403.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.5117, allocations: 81.81 kB / 403.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.5118, allocations: 55.91 kB / 403.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00483/0.5167, allocations: 2.079 MB / 405.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.5314, allocations: 7.328 MB / 412.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.5341, allocations: 2.35 MB / 415.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.5358, allocations: 0.9549 MB / 416.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.5359, allocations: 13 kB / 416.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.536, allocations: 51.5 kB / 416.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 4.95e-06/0.536, allocations: 0 / 416.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.009498/0.5455, allocations: 4.204 MB / 420.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.5456, allocations: 64.41 kB / 420.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.5474, allocations: 0.8641 MB / 421.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.593e-05/0.5475, allocations: 41.7 kB / 421.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.5486, allocations: 0.8553 MB / 422.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/0.549, allocations: 341.1 kB / 422.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.5494, allocations: 182.5 kB / 422.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.5497, allocations: 349.9 kB / 423.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/0.5506, allocations: 497.6 kB / 423.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.5516, allocations: 0.6694 MB / 424.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.5536, allocations: 1.209 MB / 425.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5536, allocations: 0 / 425.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003243/0.5569, allocations: 1.621 MB / 427.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.5569, allocations: 11.94 kB / 427.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.5569, allocations: 7.984 kB / 427.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.5582, allocations: 467 kB / 427.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.559, allocations: 175.7 kB / 427.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5693, allocations: 9.289 MB / 437.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009631/0.5703, allocations: 51.89 kB / 437.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.5704, allocations: 36 kB / 437.2 MB, free: 15.34 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.001391/0.5718, allocations: 0.6418 MB / 437.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.572, allocations: 107.3 kB / 437.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.5724, allocations: 134 kB / 438.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.5724, allocations: 12 kB / 438.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.5725, allocations: 3.984 kB / 438.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.5725, allocations: 3.984 kB / 438.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.5787, allocations: 3.485 MB / 441.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5787, allocations: 0 / 441.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.5793, allocations: 131.7 kB / 441.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.5803, allocations: 455.1 kB / 442.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.5804, allocations: 16 kB / 442.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008918/0.5893, allocations: 9.207 MB / 451.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5893, allocations: 0 / 451.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.593, allocations: 2.328 MB / 453.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.5936, allocations: 280.4 kB / 454 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5937, allocations: 20 kB / 454 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.5942, allocations: 43.95 kB / 454 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.5944, allocations: 88.88 kB / 454.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.5945, allocations: 27.92 kB / 454.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009075/0.5954, allocations: 0.6083 MB / 454.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5954, allocations: 0 / 454.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001799/0.5972, allocations: 383.9 kB / 455.1 MB, free: 12.69 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.0002944/0.5975, allocations: 143 kB / 455.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.6002, allocations: 1.83 MB / 457.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6002, allocations: 0 / 457.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.6018, allocations: 1.251 MB / 458.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.6032, allocations: 298.8 kB / 458.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.6093, allocations: 3.647 MB / 462.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.6107, allocations: 1.722 MB / 464 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000593/0.6113, allocations: 188.9 kB / 464.2 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.6115, allocations: 67.44 kB / 464.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6115, allocations: 0 / 464.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of Templates: time 0.03746/0.6489, allocations: 21.04 MB / 485.3 MB, free: 14.27 MB / 414.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)