Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009894/0.0009893, allocations: 93.39 kB / 16.65 MB, free: 6.586 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.001277/0.001277, allocations: 184 kB / 17.56 MB, free: 6.203 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.883/1.883, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.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.0005638/0.0005638, allocations: 12.16 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008076/0.1447, allocations: 5.684 MB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.15, allocations: 1.64 MB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1513, allocations: 39.81 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.152, allocations: 230.4 kB / 335.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.1539, allocations: 370 kB / 336.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.1549, allocations: 311.7 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.1579, allocations: 2.269 MB / 338.8 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.1606, allocations: 1.978 MB / 340.8 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.1624, allocations: 0.7197 MB / 341.5 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.1642, allocations: 0.972 MB / 342.5 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.1645, allocations: 124 kB / 342.6 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.1651, allocations: 263.7 kB / 342.9 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.1657, allocations: 0.4982 MB / 343.4 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.1671, allocations: 1.028 MB / 344.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.171, allocations: 3.363 MB / 347.8 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1711, allocations: 0 / 347.8 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.1711, allocations: 0 / 347.8 MB, free: 160 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.1712, allocations: 4 kB / 347.8 MB, free: 156 kB / 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.004979/0.1762, allocations: 2.086 MB / 349.9 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.1763, allocations: 8.031 kB / 349.9 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.1769, allocations: 230.2 kB / 350.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.179, allocations: 1.178 MB / 351.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.1792, allocations: 156.5 kB / 351.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000417/0.1796, allocations: 212.1 kB / 351.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.1849, allocations: 2.622 MB / 354.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.1849, allocations: 0 / 354.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.1851, allocations: 80 kB / 354.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.619e-05/0.1852, allocations: 52 kB / 354.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.1892, allocations: 2.097 MB / 356.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.2021, allocations: 7.462 MB / 363.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.205, allocations: 2.358 MB / 366.3 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.2066, allocations: 0.951 MB / 367.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.294e-05/0.2067, allocations: 12.94 kB / 367.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.485e-05/0.2068, allocations: 43.56 kB / 367.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 6.111e-06/0.2068, allocations: 4 kB / 367.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.009295/0.2161, allocations: 4.228 MB / 371.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.2162, allocations: 64.34 kB / 371.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.2176, allocations: 0.8602 MB / 372.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/0.2177, allocations: 41.7 kB / 372.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.2184, allocations: 0.8333 MB / 373.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.2187, allocations: 331.2 kB / 373.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2189, allocations: 89.61 kB / 373.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2191, allocations: 349.9 kB / 374.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007987/0.2199, allocations: 0.4899 MB / 374.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.2208, allocations: 0.6733 MB / 375.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.2227, allocations: 1.217 MB / 376.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.2227, allocations: 4 kB / 376.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00311/0.2259, allocations: 1.636 MB / 378.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.2259, allocations: 6.656 kB / 378.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.2259, allocations: 8 kB / 378.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.2271, allocations: 470.9 kB / 378.6 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.2278, allocations: 171.8 kB / 378.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2729/0.5007, allocations: 8.466 MB / 387.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.5017, allocations: 50.03 kB / 387.3 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.5018, allocations: 31.77 kB / 387.3 MB, free: 45.32 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.00143/0.5032, allocations: 0.6424 MB / 387.9 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.5035, allocations: 100.6 kB / 388 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.5039, allocations: 131.7 kB / 388.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/0.5039, allocations: 15.94 kB / 388.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.5039, allocations: 3.062 kB / 388.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.504, allocations: 5.344 kB / 388.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008051/0.512, allocations: 3.527 MB / 391.7 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5121, allocations: 1.125 kB / 391.7 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.5127, allocations: 135.4 kB / 391.9 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.5139, allocations: 455.2 kB / 392.3 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.514, allocations: 20.08 kB / 392.3 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008215/0.5222, allocations: 8.39 MB / 400.7 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5222, allocations: 0 / 400.7 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.5265, allocations: 2.319 MB / 403 MB, free: 35.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008144/0.5274, allocations: 284.8 kB / 403.3 MB, free: 35.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5275, allocations: 24.53 kB / 403.3 MB, free: 35.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.528, allocations: 49.17 kB / 403.4 MB, free: 35.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/0.5283, allocations: 83.59 kB / 403.5 MB, free: 35.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.5284, allocations: 28.89 kB / 403.5 MB, free: 35.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001108/0.5295, allocations: 0.6058 MB / 404.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5295, allocations: 0 / 404.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002069/0.5316, allocations: 382.3 kB / 404.5 MB, free: 34.98 MB / 318.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.0003741/0.532, allocations: 142.4 kB / 404.6 MB, free: 34.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.5347, allocations: 1.822 MB / 406.4 MB, free: 33.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5347, allocations: 0 / 406.4 MB, free: 33.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.5362, allocations: 1.248 MB / 407.7 MB, free: 32.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5378, allocations: 279.5 kB / 407.9 MB, free: 32.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/0.5444, allocations: 4.578 MB / 412.5 MB, free: 28.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.5462, allocations: 1.718 MB / 414.2 MB, free: 26.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008727/0.5471, allocations: 188.9 kB / 414.4 MB, free: 26.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.5473, allocations: 67.44 kB / 414.5 MB, free: 26.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5473, allocations: 4 kB / 414.5 MB, free: 26.61 MB / 318.1 MB Notification: Performance of Templates: time 0.03529/0.5826, allocations: 19.33 MB / 433.8 MB, free: 7.277 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)