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.008364/0.008363, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001593/0.001593, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.79/1.79, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001333/0.001333, allocations: 53.7 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, 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.007541/0.1701, allocations: 6.172 MB / 379.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.1743, allocations: 1.698 MB / 381 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1758, allocations: 39.81 kB / 381.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1771, allocations: 293.6 kB / 381.4 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.1797, allocations: 421.2 kB / 381.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1807, allocations: 355.5 kB / 382.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002722/0.1835, allocations: 2.153 MB / 384.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.186, allocations: 2.39 MB / 386.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.1878, allocations: 1.028 MB / 387.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.1896, allocations: 1.206 MB / 388.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.19, allocations: 288 kB / 389.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009204/0.191, allocations: 435.7 kB / 389.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006875/0.1917, allocations: 0.7012 MB / 390.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.1933, allocations: 1.233 MB / 391.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.1975, allocations: 3.632 MB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1975, allocations: 0 / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1975, allocations: 0 / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.658e-05/0.1976, allocations: 0 / 395.2 MB, free: 11.16 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.004769/0.2024, allocations: 2.512 MB / 397.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.2025, allocations: 8.031 kB / 397.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/0.203, allocations: 247.4 kB / 397.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.2051, allocations: 1.19 MB / 399.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.2052, allocations: 156.5 kB / 399.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.2055, allocations: 208.1 kB / 399.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/0.2102, allocations: 2.61 MB / 402.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.2103, allocations: 0 / 402.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.2105, allocations: 92 kB / 402.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.689e-05/0.2106, allocations: 52 kB / 402.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.2142, allocations: 2.081 MB / 404.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.2257, allocations: 7.32 MB / 411.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.228, allocations: 2.354 MB / 414 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.2294, allocations: 0.9395 MB / 414.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.2295, allocations: 20.92 kB / 414.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.2295, allocations: 43.56 kB / 415 MB, free: 6.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.776e-06/0.2295, allocations: 0 / 415 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.007674/0.2372, allocations: 4.204 MB / 419.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2373, allocations: 72.34 kB / 419.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.2384, allocations: 0.8563 MB / 420.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.2385, allocations: 45.7 kB / 420.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.239, allocations: 0.8475 MB / 421 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.2393, allocations: 345.1 kB / 421.3 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.2396, allocations: 174.6 kB / 421.5 MB, free: 0 / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2398, allocations: 345.9 kB / 421.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.2405, allocations: 0.4899 MB / 422.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.2414, allocations: 0.681 MB / 423 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.243, allocations: 1.193 MB / 424.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.243, allocations: 11.98 kB / 424.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002609/0.2457, allocations: 1.617 MB / 425.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.2457, allocations: 9.25 kB / 425.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2457, allocations: 12 kB / 425.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.2468, allocations: 470.9 kB / 426.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.2475, allocations: 171.8 kB / 426.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008962/0.2565, allocations: 9.293 MB / 435.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009218/0.2575, allocations: 43.97 kB / 435.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.2575, allocations: 39.98 kB / 435.9 MB, free: 0.918 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.001366/0.2589, allocations: 0.6455 MB / 436.5 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.2592, allocations: 107.3 kB / 436.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.2595, allocations: 138 kB / 436.8 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.2595, allocations: 12.47 kB / 436.8 MB, free: 0 / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.2595, allocations: 0 / 436.8 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.2596, allocations: 4.047 kB / 436.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/0.2652, allocations: 3.485 MB / 440.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.2652, allocations: 3.938 kB / 440.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/0.2659, allocations: 123.8 kB / 440.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.2669, allocations: 463 kB / 440.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.267, allocations: 16 kB / 440.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.277, allocations: 9.223 MB / 450.1 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.2771, allocations: 4.031 kB / 450.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2981/0.5752, allocations: 2.304 MB / 452.4 MB, free: 68.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.5765, allocations: 283 kB / 452.7 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.5766, allocations: 19.53 kB / 452.7 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.5772, allocations: 47.75 kB / 452.7 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.5776, allocations: 86.3 kB / 452.8 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5777, allocations: 22.72 kB / 452.8 MB, free: 68.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.5793, allocations: 0.6083 MB / 453.4 MB, free: 68.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5793, allocations: 0 / 453.4 MB, free: 68.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00313/0.5824, allocations: 379.3 kB / 453.8 MB, free: 68.29 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.0004151/0.5828, allocations: 145.2 kB / 454 MB, free: 68.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.5867, allocations: 1.824 MB / 455.8 MB, free: 67.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.5867, allocations: 1.25 kB / 455.8 MB, free: 67.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.589, allocations: 1.252 MB / 457 MB, free: 67.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.5908, allocations: 296.9 kB / 457.3 MB, free: 67.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00889/0.5997, allocations: 3.651 MB / 461 MB, free: 66.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.6018, allocations: 1.715 MB / 462.7 MB, free: 65.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009241/0.6027, allocations: 190.4 kB / 462.9 MB, free: 65.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.6029, allocations: 69.58 kB / 462.9 MB, free: 65.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.603, allocations: 0 / 462.9 MB, free: 65.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03845/0.6414, allocations: 21.06 MB / 484 MB, free: 51.65 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)