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.009289/0.009289, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002116/0.002116, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.766/1.766, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.00128/0.00128, allocations: 54.61 kB / 326.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009377/0.1554, allocations: 6.164 MB / 379.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.1607, allocations: 1.698 MB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1619, allocations: 39.81 kB / 381.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.1628, allocations: 293.6 kB / 381.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.1647, allocations: 429.2 kB / 381.8 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.1657, allocations: 347.5 kB / 382.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002817/0.1685, allocations: 2.16 MB / 384.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.1715, allocations: 2.382 MB / 386.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.1733, allocations: 1.024 MB / 387.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.1758, allocations: 1.214 MB / 388.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005235/0.1763, allocations: 292 kB / 389.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.1773, allocations: 427.7 kB / 389.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007901/0.1781, allocations: 0.6935 MB / 390.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.1798, allocations: 1.241 MB / 391.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.1847, allocations: 3.618 MB / 395.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1847, allocations: 0 / 395.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.1847, allocations: 0 / 395.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-05/0.1848, allocations: 4 kB / 395.2 MB, free: 11.18 MB / 334.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.006216/0.191, allocations: 2.457 MB / 397.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.1911, allocations: 8.031 kB / 397.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.1917, allocations: 230.2 kB / 397.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.1942, allocations: 1.182 MB / 399 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1943, allocations: 160.5 kB / 399.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.1946, allocations: 212.1 kB / 399.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005034/0.1997, allocations: 2.61 MB / 402 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.1998, allocations: 4 kB / 402 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.2, allocations: 80 kB / 402.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.27e-05/0.2001, allocations: 56 kB / 402.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.2038, allocations: 2.081 MB / 404.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.2173, allocations: 7.306 MB / 411.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.2197, allocations: 2.347 MB / 413.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.2212, allocations: 0.9473 MB / 414.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.2213, allocations: 12.94 kB / 414.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.2214, allocations: 51.5 kB / 414.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.697e-06/0.2214, allocations: 0 / 414.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.00827/0.2296, allocations: 4.177 MB / 419.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.2297, allocations: 64.34 kB / 419.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.2309, allocations: 0.864 MB / 420 MB, free: 1.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.231, allocations: 41.7 kB / 420 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.2316, allocations: 0.8295 MB / 420.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.2319, allocations: 323.3 kB / 421.2 MB, free: 364 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.2322, allocations: 174.6 kB / 421.3 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2324, allocations: 349.9 kB / 421.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000809/0.2332, allocations: 497.7 kB / 422.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/0.2341, allocations: 0.6772 MB / 422.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.2359, allocations: 1.209 MB / 424.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2359, allocations: 0 / 424.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002922/0.2388, allocations: 1.628 MB / 425.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.2389, allocations: 4 kB / 425.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.2389, allocations: 8 kB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.2401, allocations: 467 kB / 426.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.2408, allocations: 175.7 kB / 426.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009602/0.2504, allocations: 9.281 MB / 435.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2515, allocations: 47.95 kB / 435.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.2516, allocations: 36 kB / 435.7 MB, free: 1.105 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.001375/0.253, allocations: 0.6457 MB / 436.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.2533, allocations: 98.88 kB / 436.4 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.2535, allocations: 141.9 kB / 436.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.2535, allocations: 8 kB / 436.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.2536, allocations: 7.938 kB / 436.6 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.2536, allocations: 3.984 kB / 436.6 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005765/0.2594, allocations: 3.474 MB / 440.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.2594, allocations: 4.062 kB / 440.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.26, allocations: 131.8 kB / 440.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.2609, allocations: 459 kB / 440.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.261, allocations: 20 kB / 440.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009118/0.2701, allocations: 9.199 MB / 449.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2702, allocations: 0 / 449.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4151/0.6853, allocations: 2.311 MB / 452.2 MB, free: 68.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.6865, allocations: 277.3 kB / 452.4 MB, free: 68.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/0.6869, allocations: 15.09 kB / 452.5 MB, free: 68.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.6878, allocations: 42.7 kB / 452.5 MB, free: 68.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/0.6882, allocations: 91.28 kB / 452.6 MB, free: 68.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.6883, allocations: 27.42 kB / 452.6 MB, free: 68.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001973/0.6903, allocations: 0.6072 MB / 453.2 MB, free: 68.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6903, allocations: 0.9688 kB / 453.2 MB, free: 68.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003081/0.6934, allocations: 374.7 kB / 453.6 MB, free: 68.34 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.0004964/0.6939, allocations: 152.4 kB / 453.7 MB, free: 68.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004094/0.698, allocations: 1.822 MB / 455.6 MB, free: 67.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.698, allocations: 0 / 455.6 MB, free: 67.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.7004, allocations: 1.244 MB / 456.8 MB, free: 67.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.7026, allocations: 300.2 kB / 457.1 MB, free: 67.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/0.711, allocations: 3.596 MB / 460.7 MB, free: 66.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.7132, allocations: 1.716 MB / 462.4 MB, free: 65.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008727/0.7141, allocations: 193.6 kB / 462.6 MB, free: 65.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.7144, allocations: 65.06 kB / 462.7 MB, free: 65.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7144, allocations: 0 / 462.7 MB, free: 65.3 MB / 382.1 MB Notification: Performance of Templates: time 0.03721/0.7516, allocations: 21.4 MB / 484.1 MB, free: 51.7 MB / 382.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)