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.00929/0.00929, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001846/0.001846, allocations: 196.4 kB / 16.68 MB, free: 5.875 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.78/1.78, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001406/0.001406, allocations: 49.42 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1664, 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.009868/0.1763, allocations: 6.168 MB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.1815, allocations: 1.695 MB / 381 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.1834, allocations: 39.81 kB / 381.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.185, allocations: 301.6 kB / 381.4 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.1878, allocations: 437.2 kB / 381.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1894, allocations: 347.5 kB / 382.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.1934, allocations: 2.16 MB / 384.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.1983, allocations: 2.386 MB / 386.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.2006, allocations: 1.04 MB / 387.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.204, allocations: 1.202 MB / 388.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.2054, allocations: 292 kB / 389.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.2074, allocations: 431.7 kB / 389.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.2091, allocations: 0.6896 MB / 390.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.2118, allocations: 1.233 MB / 391.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.2164, allocations: 3.629 MB / 395.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2165, allocations: 3.938 kB / 395.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.2165, allocations: 0 / 395.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001174/0.2166, allocations: 0 / 395.2 MB, free: 11.15 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.006771/0.2234, allocations: 2.46 MB / 397.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.358e-05/0.2235, allocations: 8.031 kB / 397.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/0.2242, allocations: 226.2 kB / 397.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.2264, allocations: 1.178 MB / 399 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2266, allocations: 156.5 kB / 399.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.2269, allocations: 212.1 kB / 399.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005009/0.2319, allocations: 2.607 MB / 402 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.232, allocations: 11.88 kB / 402 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.2322, allocations: 84 kB / 402.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.548e-05/0.2323, allocations: 55.98 kB / 402.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004112/0.2364, allocations: 2.081 MB / 404.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.2528, allocations: 7.302 MB / 411.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.256, allocations: 2.354 MB / 413.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.2577, allocations: 0.9395 MB / 414.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.2578, allocations: 12.94 kB / 414.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.2578, allocations: 47.55 kB / 414.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 5.65e-06/0.2579, allocations: 0 / 414.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.009538/0.2674, allocations: 4.173 MB / 419.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.2675, allocations: 72.33 kB / 419.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.2688, allocations: 0.8601 MB / 420 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.2688, allocations: 37.7 kB / 420 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.2695, allocations: 0.8334 MB / 420.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.2697, allocations: 323.3 kB / 421.2 MB, free: 336 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.27, allocations: 174.6 kB / 421.4 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.2702, allocations: 345.9 kB / 421.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.271, allocations: 497.7 kB / 422.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.2719, allocations: 0.6811 MB / 422.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.2736, allocations: 1.197 MB / 424.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.2736, allocations: 3.938 kB / 424.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002647/0.2762, allocations: 1.628 MB / 425.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.2763, allocations: 9.078 kB / 425.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2763, allocations: 8 kB / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.2774, allocations: 466.9 kB / 426.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.2781, allocations: 171.8 kB / 426.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00931/0.2874, allocations: 9.285 MB / 435.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.2883, allocations: 47.95 kB / 435.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.2884, allocations: 48.03 kB / 435.7 MB, free: 1.07 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.001363/0.2898, allocations: 0.6416 MB / 436.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.29, allocations: 102.8 kB / 436.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.2903, allocations: 134 kB / 436.6 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/0.2904, allocations: 15.92 kB / 436.6 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/0.2904, allocations: 4 kB / 436.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.2904, allocations: 7.984 kB / 436.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/0.297, allocations: 3.474 MB / 440.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.297, allocations: 8 kB / 440.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.2976, allocations: 127.8 kB / 440.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.2986, allocations: 451 kB / 440.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.2987, allocations: 23.98 kB / 440.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00952/0.3083, allocations: 9.207 MB / 449.9 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3083, allocations: 0 / 449.9 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3669/0.6752, allocations: 2.302 MB / 452.2 MB, free: 68.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.6764, allocations: 274.6 kB / 452.5 MB, free: 68.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.6765, allocations: 19.47 kB / 452.5 MB, free: 68.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.6772, allocations: 48.64 kB / 452.5 MB, free: 68.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/0.6775, allocations: 90.05 kB / 452.6 MB, free: 68.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/0.6776, allocations: 28.25 kB / 452.6 MB, free: 68.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.679, allocations: 0.6025 MB / 453.2 MB, free: 68.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.679, allocations: 1.219 kB / 453.2 MB, free: 68.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002442/0.6815, allocations: 378 kB / 453.6 MB, free: 68.36 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.0004679/0.6819, allocations: 153.7 kB / 453.8 MB, free: 68.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004787/0.6867, allocations: 1.82 MB / 455.6 MB, free: 67.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6868, allocations: 0 / 455.6 MB, free: 67.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.6897, allocations: 1.239 MB / 456.8 MB, free: 67.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6918, allocations: 292.8 kB / 457.1 MB, free: 67.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.7007, allocations: 3.604 MB / 460.7 MB, free: 66.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/0.7031, allocations: 1.717 MB / 462.4 MB, free: 65.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008658/0.704, allocations: 189.2 kB / 462.6 MB, free: 65.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.7042, allocations: 65.28 kB / 462.7 MB, free: 65.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.113e-06/0.7042, allocations: 0 / 462.7 MB, free: 65.32 MB / 382.1 MB Notification: Performance of Templates: time 0.03772/0.7419, allocations: 21.05 MB / 483.7 MB, free: 51.98 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)