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.001263/0.001264, allocations: 105.3 kB / 16.5 MB, free: 6.707 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.001252/0.001252, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.622/1.622, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001301/0.001301, allocations: 47.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1537, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009386/0.1632, allocations: 6.163 MB / 332.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.1681, allocations: 1.656 MB / 333.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.17, allocations: 35.88 kB / 333.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1713, allocations: 234.4 kB / 334 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.1739, allocations: 373.9 kB / 334.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1753, allocations: 303.7 kB / 334.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.1789, allocations: 2.277 MB / 337 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/0.1821, allocations: 1.994 MB / 339 MB, free: 7.758 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.184, allocations: 0.8797 MB / 339.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.1862, allocations: 1.163 MB / 341 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003807/0.1866, allocations: 188 kB / 341.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008507/0.1874, allocations: 335.7 kB / 341.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.1881, allocations: 0.5881 MB / 342.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.1897, allocations: 1.12 MB / 343.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.1943, allocations: 3.497 MB / 346.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.1944, allocations: 0 / 346.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1944, allocations: 0 / 346.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001716/0.1946, allocations: 4 kB / 346.7 MB, free: 15.97 MB / 302.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.007053/0.2017, allocations: 2.464 MB / 349.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.994e-05/0.2018, allocations: 12.03 kB / 349.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.2025, allocations: 226.2 kB / 349.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.2049, allocations: 1.17 MB / 350.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.205, allocations: 160.5 kB / 350.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.2054, allocations: 208.1 kB / 351 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005488/0.2109, allocations: 2.61 MB / 353.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.2109, allocations: 4 kB / 353.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.2111, allocations: 87.98 kB / 353.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.263e-05/0.2112, allocations: 52 kB / 353.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004018/0.2153, allocations: 2.085 MB / 355.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.2295, allocations: 7.412 MB / 363.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.2323, allocations: 2.358 MB / 365.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.2339, allocations: 0.9433 MB / 366.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.369e-05/0.234, allocations: 16.94 kB / 366.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.388e-05/0.2341, allocations: 39.56 kB / 366.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 6.593e-06/0.2341, allocations: 3.938 kB / 366.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.009/0.2431, allocations: 4.181 MB / 370.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2432, allocations: 64.34 kB / 370.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.2445, allocations: 0.8602 MB / 371.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.2446, allocations: 41.7 kB / 371.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.2454, allocations: 0.8333 MB / 372.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.2457, allocations: 327.2 kB / 372.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.246, allocations: 178.6 kB / 373 MB, free: 4.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2462, allocations: 341.9 kB / 373.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000797/0.247, allocations: 0.4899 MB / 373.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009482/0.2479, allocations: 0.6694 MB / 374.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.2498, allocations: 1.201 MB / 375.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.2498, allocations: 4 kB / 375.7 MB, free: 2 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002847/0.2527, allocations: 1.62 MB / 377.4 MB, free: 368 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.2527, allocations: 8 kB / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.2527, allocations: 4 kB / 377.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2482/0.5009, allocations: 462.8 kB / 377.8 MB, free: 52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.502, allocations: 174.3 kB / 378 MB, free: 52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.5121, allocations: 8.456 MB / 386.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5133, allocations: 47.33 kB / 386.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.5134, allocations: 37.31 kB / 386.5 MB, free: 45.96 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.001823/0.5152, allocations: 0.6383 MB / 387.2 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.5157, allocations: 102.7 kB / 387.3 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.516, allocations: 139.9 kB / 387.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/0.516, allocations: 11.44 kB / 387.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.516, allocations: 2.031 kB / 387.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5161, allocations: 7.156 kB / 387.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.5234, allocations: 3.499 MB / 390.9 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.5235, allocations: 0 / 390.9 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.5242, allocations: 127.2 kB / 391.1 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.5254, allocations: 454.8 kB / 391.5 MB, free: 43.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.5255, allocations: 22 kB / 391.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008075/0.5336, allocations: 8.361 MB / 399.9 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5336, allocations: 0 / 399.9 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.5375, allocations: 2.302 MB / 402.2 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/0.5381, allocations: 287.7 kB / 402.5 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.5383, allocations: 17.5 kB / 402.5 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.5387, allocations: 43.2 kB / 402.5 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.539, allocations: 94.7 kB / 402.6 MB, free: 36.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.539, allocations: 22.7 kB / 402.6 MB, free: 36.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009263/0.54, allocations: 0.6048 MB / 403.2 MB, free: 35.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.54, allocations: 0.875 kB / 403.2 MB, free: 35.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002154/0.5421, allocations: 378.8 kB / 403.6 MB, free: 35.63 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.000354/0.5425, allocations: 141.2 kB / 403.7 MB, free: 35.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.5452, allocations: 1.808 MB / 405.6 MB, free: 34.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5452, allocations: 0 / 405.6 MB, free: 34.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.5468, allocations: 1.234 MB / 406.8 MB, free: 33.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.5483, allocations: 291.8 kB / 407.1 MB, free: 33.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.5546, allocations: 4.481 MB / 411.6 MB, free: 29.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.5558, allocations: 1.718 MB / 413.3 MB, free: 27.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000743/0.5566, allocations: 192.8 kB / 413.5 MB, free: 27.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5569, allocations: 67.44 kB / 413.5 MB, free: 27.23 MB / 318.1 MB Notification: Performance of SimCode: time 1.684e-06/0.5569, allocations: 0 / 413.5 MB, free: 27.23 MB / 318.1 MB Notification: Performance of Templates: time 0.03321/0.5901, allocations: 19.65 MB / 433.2 MB, free: 7.586 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)