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.009633/0.009632, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.002252/0.002252, allocations: 191 kB / 16.67 MB, free: 5.969 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.827/1.827, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.00197/0.00197, allocations: 57.97 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008871/0.1579, allocations: 6.18 MB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.1627, allocations: 1.691 MB / 381 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.1637, allocations: 39.81 kB / 381.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.1645, allocations: 297.6 kB / 381.4 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.1663, allocations: 421.2 kB / 381.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1674, allocations: 351.5 kB / 382.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.1707, allocations: 2.156 MB / 384.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.1734, allocations: 2.386 MB / 386.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.175, allocations: 1.02 MB / 387.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.1768, allocations: 1.218 MB / 388.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.1772, allocations: 288 kB / 389.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.1779, allocations: 427.7 kB / 389.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.1785, allocations: 0.7013 MB / 390.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.1798, allocations: 1.233 MB / 391.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.1832, allocations: 3.622 MB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1832, allocations: 0 / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1832, allocations: 0 / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-05/0.1832, allocations: 0 / 395.2 MB, free: 11.17 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.005023/0.1883, allocations: 2.464 MB / 397.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1883, allocations: 8.031 kB / 397.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.1889, allocations: 230.2 kB / 397.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.191, allocations: 1.178 MB / 399 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.1911, allocations: 160.5 kB / 399.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.1914, allocations: 208.1 kB / 399.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.1957, allocations: 2.618 MB / 402 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.1958, allocations: 0 / 402 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.196, allocations: 80 kB / 402.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-05/0.1961, allocations: 52 kB / 402.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.1996, allocations: 2.085 MB / 404.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.2109, allocations: 7.306 MB / 411.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.2137, allocations: 2.347 MB / 413.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.2153, allocations: 0.9434 MB / 414.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.2153, allocations: 20.91 kB / 414.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.2154, allocations: 43.5 kB / 414.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 4.288e-06/0.2154, allocations: 4 kB / 414.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008766/0.2242, allocations: 4.173 MB / 419.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2243, allocations: 68.34 kB / 419.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.2257, allocations: 0.8679 MB / 420 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.2257, allocations: 41.7 kB / 420 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/0.2264, allocations: 0.8256 MB / 420.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.2266, allocations: 323.3 kB / 421.2 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.2269, allocations: 178.6 kB / 421.4 MB, free: 164 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2271, allocations: 341.9 kB / 421.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.2278, allocations: 497.7 kB / 422.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.2287, allocations: 0.6811 MB / 422.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.2304, allocations: 1.201 MB / 424.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2304, allocations: 7.938 kB / 424.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002644/0.2331, allocations: 1.628 MB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.2331, allocations: 8 kB / 425.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.2332, allocations: 4 kB / 425.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.2344, allocations: 466.9 kB / 426.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.2351, allocations: 175.7 kB / 426.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009317/0.2444, allocations: 9.28 MB / 435.6 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/0.2454, allocations: 47.95 kB / 435.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.2455, allocations: 32 kB / 435.7 MB, free: 1.094 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.001241/0.2467, allocations: 0.6534 MB / 436.3 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.2469, allocations: 98.78 kB / 436.4 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.2472, allocations: 138 kB / 436.6 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.2473, allocations: 12 kB / 436.6 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.2473, allocations: 0 / 436.6 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2473, allocations: 3.984 kB / 436.6 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/0.2533, allocations: 3.477 MB / 440.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2534, allocations: 3.938 kB / 440.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.2539, allocations: 128 kB / 440.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/0.2549, allocations: 459.3 kB / 440.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.255, allocations: 23.98 kB / 440.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/0.2635, allocations: 9.198 MB / 449.9 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2636, allocations: 4.031 kB / 449.9 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3414/0.6049, allocations: 2.306 MB / 452.2 MB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.6065, allocations: 279 kB / 452.4 MB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.6067, allocations: 21.09 kB / 452.5 MB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/0.6073, allocations: 39.97 kB / 452.5 MB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/0.6078, allocations: 87.05 kB / 452.6 MB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/0.6079, allocations: 26.56 kB / 452.6 MB, free: 68.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.6096, allocations: 0.6055 MB / 453.2 MB, free: 68.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6096, allocations: 4.125 kB / 453.2 MB, free: 68.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003192/0.6128, allocations: 376.7 kB / 453.6 MB, free: 68.32 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.0005175/0.6133, allocations: 156.4 kB / 453.7 MB, free: 68.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004312/0.6176, allocations: 1.816 MB / 455.6 MB, free: 67.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6177, allocations: 0.8125 kB / 455.6 MB, free: 67.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.6202, allocations: 1.24 MB / 456.8 MB, free: 67.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.6222, allocations: 300.2 kB / 457.1 MB, free: 67.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009877/0.6321, allocations: 3.591 MB / 460.7 MB, free: 66.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002776/0.6349, allocations: 1.715 MB / 462.4 MB, free: 65.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.6362, allocations: 192.8 kB / 462.6 MB, free: 65.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.6364, allocations: 69.97 kB / 462.7 MB, free: 65.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.866e-06/0.6364, allocations: 0 / 462.7 MB, free: 65.27 MB / 382.1 MB Notification: Performance of Templates: time 0.04433/0.6808, allocations: 21.05 MB / 483.7 MB, free: 51.99 MB / 382.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)