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.001729/0.001729, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002162/0.002162, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.719 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.001369/0.00137, allocations: 51.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3914, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.01022/0.4017, allocations: 6.172 MB / 330.8 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006424/0.4082, allocations: 1.649 MB / 332.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.4108, allocations: 40.56 kB / 332.5 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.4123, allocations: 236.8 kB / 332.8 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.4155, allocations: 374.4 kB / 333.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.4171, allocations: 303.9 kB / 333.4 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.4224, allocations: 2.284 MB / 335.7 MB, free: 9.078 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/0.4265, allocations: 1.983 MB / 337.7 MB, free: 7.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.4289, allocations: 0.8797 MB / 338.6 MB, free: 6.152 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.4321, allocations: 1.163 MB / 339.7 MB, free: 4.984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007668/0.4329, allocations: 192 kB / 339.9 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.4344, allocations: 331.7 kB / 340.2 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008816/0.4353, allocations: 0.5958 MB / 340.8 MB, free: 3.875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002715/0.438, allocations: 1.116 MB / 342 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.4434, allocations: 3.493 MB / 345.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-05/0.4436, allocations: 7.938 kB / 345.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4436, allocations: 4 kB / 345.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002356/0.4438, allocations: 0 / 345.5 MB, free: 15.24 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.008853/0.4527, allocations: 2.464 MB / 347.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.4528, allocations: 8.031 kB / 347.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006172/0.4534, allocations: 234.1 kB / 348.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.4556, allocations: 1.17 MB / 349.3 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.4557, allocations: 152.5 kB / 349.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.4561, allocations: 204.1 kB / 349.7 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006216/0.4623, allocations: 2.622 MB / 352.3 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/0.4624, allocations: 3.938 kB / 352.3 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.4627, allocations: 84 kB / 352.4 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.4628, allocations: 52 kB / 352.4 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/0.4678, allocations: 2.085 MB / 354.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.4832, allocations: 7.415 MB / 361.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.4857, allocations: 2.339 MB / 364.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4872, allocations: 0.9394 MB / 365.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.4873, allocations: 12.94 kB / 365.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.4873, allocations: 43.56 kB / 365.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.4873, allocations: 0 / 365.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.009249/0.4966, allocations: 4.181 MB / 369.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.4967, allocations: 64.34 kB / 369.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.4983, allocations: 0.8602 MB / 370.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.4984, allocations: 49.64 kB / 370.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008025/0.4992, allocations: 0.8256 MB / 371.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.4996, allocations: 327.3 kB / 371.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.4999, allocations: 178.5 kB / 371.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5001, allocations: 345.9 kB / 372.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/0.501, allocations: 493.7 kB / 372.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009704/0.5019, allocations: 0.6738 MB / 373.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.5038, allocations: 1.205 MB / 374.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5038, allocations: 4 kB / 374.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003212/0.507, allocations: 1.62 MB / 376.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.5071, allocations: 8 kB / 376.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/0.5072, allocations: 8.062 kB / 376.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.5085, allocations: 462.9 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007542/0.5092, allocations: 175.8 kB / 376.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5197, allocations: 8.463 MB / 385.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.5206, allocations: 43.97 kB / 385.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.5208, allocations: 35.98 kB / 385.3 MB, free: 5.918 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.001514/0.5223, allocations: 0.6419 MB / 385.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/0.5227, allocations: 98.78 kB / 386 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.5231, allocations: 138 kB / 386.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/0.5231, allocations: 15.94 kB / 386.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.5231, allocations: 0 / 386.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.5232, allocations: 3.984 kB / 386.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00699/0.5302, allocations: 3.504 MB / 389.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5303, allocations: 0 / 389.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.5309, allocations: 123.9 kB / 389.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.5321, allocations: 459 kB / 390.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/0.5322, allocations: 16 kB / 390.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00962/0.5418, allocations: 8.365 MB / 398.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5419, allocations: 0 / 398.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.5461, allocations: 2.315 MB / 400.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007815/0.5469, allocations: 275.8 kB / 401.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.5471, allocations: 24.17 kB / 401.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.5476, allocations: 39.97 kB / 401.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/0.5481, allocations: 92.8 kB / 401.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.5481, allocations: 24 kB / 401.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.5492, allocations: 0.6083 MB / 402 MB, free: 4.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5492, allocations: 0 / 402 MB, free: 4.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002128/0.5514, allocations: 380 kB / 402.3 MB, free: 4.129 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.0005724/0.5519, allocations: 147.1 kB / 402.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.5558, allocations: 1.799 MB / 404.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5558, allocations: 0 / 404.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.5579, allocations: 1.239 MB / 405.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.5599, allocations: 279.2 kB / 405.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009017/0.569, allocations: 4.49 MB / 410.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.5707, allocations: 1.714 MB / 412 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008455/0.5716, allocations: 188.9 kB / 412.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.5718, allocations: 71.42 kB / 412.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.024e-06/0.5718, allocations: 0 / 412.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Templates: time 0.04283/0.6146, allocations: 19.63 MB / 431.9 MB, free: 6.359 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)