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.0015/0.001501, allocations: 109.9 kB / 17.06 MB, free: 5.973 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.001474/0.001474, allocations: 200 kB / 18.01 MB, free: 5.055 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.9 MB, free: 12.21 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.001229/0.001229, allocations: 55.91 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.2821/0.4261, allocations: 6.173 MB / 380.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.4298, allocations: 1.689 MB / 382.3 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.4303, allocations: 39.66 kB / 382.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.431, allocations: 298.1 kB / 382.7 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.4322, allocations: 421.2 kB / 383.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.4331, allocations: 351.5 kB / 383.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.4353, allocations: 2.153 MB / 385.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.4383, allocations: 2.387 MB / 388 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.4401, allocations: 1.028 MB / 389 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.4419, allocations: 1.216 MB / 390.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004079/0.4423, allocations: 289.4 kB / 390.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.4432, allocations: 429.2 kB / 390.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007615/0.444, allocations: 0.7 MB / 391.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.4453, allocations: 1.233 MB / 392.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.4502, allocations: 3.62 MB / 396.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4502, allocations: 1.156 kB / 396.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4502, allocations: 4 kB / 396.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.266e-05/0.4503, allocations: 0 / 396.5 MB, free: 3.324 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.00525/0.4555, allocations: 2.463 MB / 398.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.229e-05/0.4556, allocations: 8.875 kB / 398.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.4562, allocations: 234.7 kB / 399.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.4584, allocations: 1.181 MB / 400.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.4586, allocations: 151.6 kB / 400.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.4589, allocations: 202.8 kB / 400.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/0.4638, allocations: 2.609 MB / 403.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.4639, allocations: 4.938 kB / 403.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.4641, allocations: 85.53 kB / 403.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/0.4642, allocations: 51.34 kB / 403.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003991/0.4682, allocations: 2.079 MB / 405.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.481, allocations: 7.314 MB / 412.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.4835, allocations: 2.358 MB / 415.2 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.485, allocations: 0.9511 MB / 416.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.485, allocations: 13 kB / 416.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.4851, allocations: 47.5 kB / 416.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 4.007e-06/0.4851, allocations: 0 / 416.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.00808/0.4932, allocations: 4.178 MB / 420.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4933, allocations: 64.41 kB / 420.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4945, allocations: 0.8639 MB / 421.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.4946, allocations: 41.7 kB / 421.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.4951, allocations: 0.8256 MB / 422.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.4954, allocations: 323.3 kB / 422.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.4957, allocations: 178.5 kB / 422.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.496, allocations: 349.9 kB / 423 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.4968, allocations: 497.7 kB / 423.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4978, allocations: 0.6694 MB / 424.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.4997, allocations: 1.209 MB / 425.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4997, allocations: 3.938 kB / 425.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002672/0.5024, allocations: 1.624 MB / 427 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5024, allocations: 4 kB / 427 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5025, allocations: 8 kB / 427 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.5035, allocations: 470.9 kB / 427.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/0.5042, allocations: 171.8 kB / 427.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008922/0.5131, allocations: 9.281 MB / 436.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/0.514, allocations: 47.95 kB / 437 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.5141, allocations: 39.98 kB / 437 MB, free: 15.52 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.001329/0.5155, allocations: 0.6496 MB / 437.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.5157, allocations: 98.78 kB / 437.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.5159, allocations: 134 kB / 437.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.516, allocations: 15.94 kB / 437.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.516, allocations: 4 kB / 437.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.516, allocations: 7.969 kB / 437.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006445/0.5225, allocations: 3.47 MB / 441.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5225, allocations: 0 / 441.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.5231, allocations: 139.8 kB / 441.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009565/0.524, allocations: 447 kB / 442 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.5241, allocations: 23.98 kB / 442 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009446/0.5336, allocations: 9.203 MB / 451.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5336, allocations: 4.062 kB / 451.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.5374, allocations: 2.312 MB / 453.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008591/0.5383, allocations: 272 kB / 453.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.5386, allocations: 27.92 kB / 453.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.5392, allocations: 43.89 kB / 453.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.5395, allocations: 88.88 kB / 453.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.5396, allocations: 31.88 kB / 454 MB, free: 13.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.5407, allocations: 0.6044 MB / 454.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5407, allocations: 0 / 454.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002063/0.5428, allocations: 376 kB / 454.9 MB, free: 12.88 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.0003705/0.5431, allocations: 158.9 kB / 455.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.5462, allocations: 1.819 MB / 456.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5463, allocations: 0 / 456.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.548, allocations: 1.236 MB / 458.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.5497, allocations: 303.4 kB / 458.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/0.5572, allocations: 3.596 MB / 462 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.5593, allocations: 1.714 MB / 463.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006726/0.56, allocations: 192.9 kB / 463.9 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.5603, allocations: 71.42 kB / 464 MB, free: 3.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.795e-06/0.5603, allocations: 0 / 464 MB, free: 3.605 MB / 382.1 MB Notification: Performance of Templates: time 0.04544/0.6057, allocations: 21.38 MB / 485.4 MB, free: 14.18 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)