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.0009987/0.0009987, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008403/0.008403, allocations: 170 kB / 16.26 MB, free: 6.613 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.965/1.965, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005624/0.0005623, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3477, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006974/0.3547, allocations: 5.684 MB / 332.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.3598, allocations: 1.639 MB / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.3617, allocations: 36.59 kB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.3626, allocations: 235.1 kB / 334.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.3653, allocations: 371.3 kB / 335 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3664, allocations: 307 kB / 335.3 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003609/0.37, allocations: 2.275 MB / 337.5 MB, free: 8.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.3729, allocations: 1.968 MB / 339.5 MB, free: 6.793 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.3749, allocations: 0.7352 MB / 340.3 MB, free: 6.055 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.3772, allocations: 0.9643 MB / 341.2 MB, free: 5.086 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.3775, allocations: 124 kB / 341.3 MB, free: 4.965 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008237/0.3783, allocations: 259.7 kB / 341.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.3788, allocations: 0.5021 MB / 342.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.3803, allocations: 1.012 MB / 343.1 MB, free: 3.184 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.3845, allocations: 3.379 MB / 346.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.3845, allocations: 0 / 346.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.3845, allocations: 7.875 kB / 346.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001456/0.3847, allocations: 0 / 346.5 MB, free: 15.79 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.005643/0.3903, allocations: 2.094 MB / 348.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/0.3904, allocations: 8.031 kB / 348.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.3912, allocations: 234.2 kB / 348.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.3932, allocations: 1.162 MB / 350 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3934, allocations: 156.5 kB / 350.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.3937, allocations: 204.1 kB / 350.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.3989, allocations: 2.626 MB / 353 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.399, allocations: 0 / 353 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.3992, allocations: 95.88 kB / 353.1 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/0.3993, allocations: 52 kB / 353.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004018/0.4033, allocations: 2.089 MB / 355.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.4171, allocations: 7.466 MB / 362.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.4198, allocations: 2.351 MB / 365 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.4214, allocations: 0.9394 MB / 366 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.4214, allocations: 16.94 kB / 366 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.4215, allocations: 43.55 kB / 366 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.587e-06/0.4215, allocations: 0 / 366 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.008812/0.4303, allocations: 4.224 MB / 370.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.4304, allocations: 76.34 kB / 370.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.4319, allocations: 0.8524 MB / 371.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/0.432, allocations: 41.7 kB / 371.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008181/0.4329, allocations: 0.8295 MB / 372 MB, free: 5.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.4332, allocations: 327.2 kB / 372.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4333, allocations: 89.66 kB / 372.4 MB, free: 5.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4335, allocations: 341.9 kB / 372.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008731/0.4344, allocations: 0.4938 MB / 373.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.4353, allocations: 0.6811 MB / 373.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.437, allocations: 1.217 MB / 375.2 MB, free: 2.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.437, allocations: 4 kB / 375.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002873/0.4399, allocations: 1.632 MB / 376.8 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.44, allocations: 8 kB / 376.8 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.44, allocations: 4 kB / 376.8 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.4412, allocations: 474.9 kB / 377.3 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.4419, allocations: 171.8 kB / 377.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009222/0.4511, allocations: 8.478 MB / 385.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4523, allocations: 51.95 kB / 386 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.4524, allocations: 35.98 kB / 386 MB, free: 6.73 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.001339/0.4538, allocations: 0.6418 MB / 386.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.4541, allocations: 102.8 kB / 386.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.4544, allocations: 134 kB / 386.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/0.4545, allocations: 15.98 kB / 386.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.4545, allocations: 480 / 386.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.4545, allocations: 3.984 kB / 386.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006603/0.4611, allocations: 3.539 MB / 390.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4612, allocations: 0 / 390.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.4618, allocations: 123.9 kB / 390.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.4629, allocations: 458.9 kB / 391 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.463, allocations: 23.98 kB / 391 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009023/0.472, allocations: 8.376 MB / 399.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4721, allocations: 4.219 kB / 399.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.4759, allocations: 2.316 MB / 401.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.4766, allocations: 287.8 kB / 402 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4767, allocations: 27.98 kB / 402 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.4771, allocations: 43.95 kB / 402.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.4774, allocations: 92.8 kB / 402.2 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.4775, allocations: 23.94 kB / 402.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009082/0.4784, allocations: 0.6044 MB / 402.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4784, allocations: 0 / 402.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001686/0.4801, allocations: 384 kB / 403.2 MB, free: 4.867 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.0003616/0.4805, allocations: 147.1 kB / 403.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.4836, allocations: 1.815 MB / 405.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4837, allocations: 0 / 405.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.4854, allocations: 1.251 MB / 406.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.4872, allocations: 279.1 kB / 406.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008003/0.4952, allocations: 4.578 MB / 411.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.4975, allocations: 1.714 MB / 413 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008401/0.4983, allocations: 192.9 kB / 413.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.4987, allocations: 63.42 kB / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 1.744e-06/0.4987, allocations: 0 / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Templates: time 0.04109/0.5398, allocations: 19.34 MB / 432.5 MB, free: 7.273 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)