Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001347/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002012/0.002012, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.746/1.746, allocations: 205.1 MB / 222 MB, free: 4.949 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.001785/0.001785, allocations: 51.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3246, allocations: 46.62 MB / 324.7 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009244/0.3339, allocations: 6.172 MB / 330.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007141/0.3412, allocations: 1.645 MB / 332.5 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.3432, allocations: 37.28 kB / 332.5 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.3442, allocations: 240.9 kB / 332.8 MB, free: 11.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.3468, allocations: 378.8 kB / 333.1 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3479, allocations: 303.4 kB / 333.4 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.3515, allocations: 2.278 MB / 335.7 MB, free: 9.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.3541, allocations: 1.995 MB / 337.7 MB, free: 7.066 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.3558, allocations: 0.8797 MB / 338.6 MB, free: 6.184 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.3577, allocations: 1.159 MB / 339.7 MB, free: 5.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.358, allocations: 192 kB / 339.9 MB, free: 4.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.3587, allocations: 335.7 kB / 340.3 MB, free: 4.504 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005309/0.3593, allocations: 0.5919 MB / 340.8 MB, free: 3.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.3607, allocations: 1.12 MB / 342 MB, free: 2.785 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.3647, allocations: 3.497 MB / 345.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3647, allocations: 0 / 345.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3647, allocations: 0 / 345.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.3649, allocations: 0 / 345.5 MB, free: 15.28 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.006568/0.3714, allocations: 2.468 MB / 347.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.3715, allocations: 8.031 kB / 347.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.3721, allocations: 234.1 kB / 348.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.374, allocations: 1.166 MB / 349.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.3742, allocations: 172.4 kB / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.3745, allocations: 200.1 kB / 349.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005445/0.38, allocations: 2.607 MB / 352.3 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.38, allocations: 3.938 kB / 352.3 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.3803, allocations: 92 kB / 352.4 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.545e-05/0.3804, allocations: 52 kB / 352.4 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.3844, allocations: 2.077 MB / 354.5 MB, free: 5.996 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.3984, allocations: 7.412 MB / 361.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.4014, allocations: 2.347 MB / 364.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4032, allocations: 0.9316 MB / 365.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/0.4033, allocations: 16.94 kB / 365.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.4033, allocations: 39.56 kB / 365.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.928e-06/0.4034, allocations: 0 / 365.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.009444/0.4128, allocations: 4.181 MB / 369.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4129, allocations: 72.28 kB / 369.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.4148, allocations: 0.8602 MB / 370.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/0.4149, allocations: 41.7 kB / 370.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/0.4156, allocations: 0.8256 MB / 371.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.4159, allocations: 327.3 kB / 371.6 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.4163, allocations: 178.5 kB / 371.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4164, allocations: 349.9 kB / 372.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008358/0.4173, allocations: 497.7 kB / 372.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/0.4183, allocations: 0.6772 MB / 373.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.4202, allocations: 1.201 MB / 374.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.4202, allocations: 0 / 374.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003367/0.4236, allocations: 1.62 MB / 376.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.4236, allocations: 4 kB / 376.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.637e-05/0.4237, allocations: 8 kB / 376.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.425, allocations: 466.9 kB / 376.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.4258, allocations: 171.8 kB / 376.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.4364, allocations: 8.463 MB / 385.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.4376, allocations: 47.95 kB / 385.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.4379, allocations: 39.98 kB / 385.3 MB, free: 5.953 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.00171/0.4396, allocations: 0.634 MB / 385.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.44, allocations: 110.8 kB / 386 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.4404, allocations: 130 kB / 386.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.4405, allocations: 15.98 kB / 386.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/0.4405, allocations: 4 kB / 386.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4405, allocations: 3.984 kB / 386.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008617/0.4491, allocations: 3.504 MB / 389.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.4492, allocations: 4.031 kB / 389.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.4498, allocations: 119.9 kB / 389.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.451, allocations: 454.9 kB / 390.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.4511, allocations: 23.98 kB / 390.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.4615, allocations: 8.361 MB / 398.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4616, allocations: 0 / 398.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.4666, allocations: 2.319 MB / 400.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008971/0.4675, allocations: 275.8 kB / 401.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.4679, allocations: 16 kB / 401.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.4687, allocations: 43.95 kB / 401.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003754/0.4691, allocations: 88.8 kB / 401.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.4692, allocations: 24 kB / 401.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.4707, allocations: 0.6121 MB / 402 MB, free: 4.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4707, allocations: 0 / 402 MB, free: 4.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002419/0.4731, allocations: 380 kB / 402.3 MB, free: 4.164 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.0005532/0.4737, allocations: 147.2 kB / 402.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004302/0.478, allocations: 1.808 MB / 404.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.4781, allocations: 0 / 404.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.4805, allocations: 1.231 MB / 405.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.483, allocations: 279.1 kB / 405.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.4944, allocations: 4.482 MB / 410.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002832/0.4974, allocations: 1.718 MB / 412 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009916/0.4984, allocations: 184.9 kB / 412.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.4987, allocations: 71.42 kB / 412.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4987, allocations: 0 / 412.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Templates: time 0.04716/0.5459, allocations: 19.65 MB / 431.9 MB, free: 6.383 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)