Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005555/0.005555, allocations: 166.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.178/1.178, allocations: 170.8 MB / 186.6 MB, free: 1.145 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001685/0.001685, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 38.77 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09535/0.3188, allocations: 70.98 MB / 383.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3191, allocations: 75.97 kB / 383.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04131/0.3605, allocations: 16.01 MB / 399.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3605, allocations: 3.984 kB / 400 MB, free: 3.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.055e-05/0.3605, allocations: 28 kB / 400 MB, free: 3.336 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002278/0.3628, allocations: 1.27 MB / 401.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3629, allocations: 15.97 kB / 401.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.3631, allocations: 118.6 kB / 401.4 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3643, allocations: 0.7322 MB / 402.1 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.3644, allocations: 69.95 kB / 402.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.3645, allocations: 84 kB / 402.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.3664, allocations: 1.209 MB / 403.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3664, allocations: 0 / 403.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.804e-05/0.3665, allocations: 40 kB / 403.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3665, allocations: 20 kB / 403.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3682, allocations: 1.066 MB / 404.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.3738, allocations: 3.778 MB / 408.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.3757, allocations: 1.975 MB / 410.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.3758, allocations: 8.656 kB / 410.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3758, allocations: 39.22 kB / 410.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/0.3758, allocations: 0 / 410.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.006083/0.3819, allocations: 3.26 MB / 413.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.382, allocations: 56.06 kB / 413.7 MB, free: 5.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.3828, allocations: 0.6321 MB / 414.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.3828, allocations: 37.7 kB / 414.4 MB, free: 4.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.3831, allocations: 404.1 kB / 414.8 MB, free: 3.922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.3833, allocations: 248.5 kB / 415 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.3834, allocations: 12 kB / 415 MB, free: 3.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3836, allocations: 382.8 kB / 415.4 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.3841, allocations: 361 kB / 415.8 MB, free: 2.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.3847, allocations: 425.5 kB / 416.2 MB, free: 2.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.3852, allocations: 395 kB / 416.6 MB, free: 2.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3853, allocations: 0 / 416.6 MB, free: 2.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001886/0.3871, allocations: 1.206 MB / 417.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3872, allocations: 4 kB / 417.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3872, allocations: 0 / 417.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3883, allocations: 474.9 kB / 418.2 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3887, allocations: 99.81 kB / 418.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1702/0.5589, allocations: 8.582 MB / 426.9 MB, free: 79.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.5595, allocations: 36.16 kB / 426.9 MB, free: 79.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.5596, allocations: 23.28 kB / 427 MB, free: 79.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * 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 initialization (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005955/0.5602, allocations: 394.1 kB / 427.4 MB, free: 79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5603, allocations: 80.77 kB / 427.4 MB, free: 79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.5605, allocations: 105.7 kB / 427.5 MB, free: 78.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5605, allocations: 7.812 kB / 427.5 MB, free: 78.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.5605, allocations: 1.25 kB / 427.5 MB, free: 78.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5605, allocations: 6.062 kB / 427.5 MB, free: 78.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.5643, allocations: 2.516 MB / 430.1 MB, free: 78.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5643, allocations: 1.156 kB / 430.1 MB, free: 78.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.5647, allocations: 75.23 kB / 430.1 MB, free: 78.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009221/0.5656, allocations: 452.3 kB / 430.6 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.5657, allocations: 20.47 kB / 430.6 MB, free: 78.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007012/0.5727, allocations: 8.53 MB / 439.1 MB, free: 71.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5727, allocations: 0 / 439.1 MB, free: 71.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.5751, allocations: 1.875 MB / 441 MB, free: 70.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.5755, allocations: 245 kB / 441.2 MB, free: 70.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.5756, allocations: 16.39 kB / 441.3 MB, free: 70.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.576, allocations: 39.03 kB / 441.3 MB, free: 70.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.5761, allocations: 71.38 kB / 441.4 MB, free: 70.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.5762, allocations: 18.88 kB / 441.4 MB, free: 70.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005572/0.5767, allocations: 0.5083 MB / 441.9 MB, free: 70.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5768, allocations: 0 / 441.9 MB, free: 70.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001029/0.5778, allocations: 252.3 kB / 442.1 MB, free: 70.5 MB / 314.7 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 (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001649/0.578, allocations: 128.8 kB / 442.3 MB, free: 70.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.5797, allocations: 1.488 MB / 443.8 MB, free: 69.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5797, allocations: 0 / 443.8 MB, free: 69.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.5808, allocations: 1.094 MB / 444.8 MB, free: 68.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.5815, allocations: 195.8 kB / 445 MB, free: 68.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.5844, allocations: 2.634 MB / 447.7 MB, free: 67.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.5851, allocations: 1.255 MB / 448.9 MB, free: 66.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.5854, allocations: 127.8 kB / 449.1 MB, free: 66.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5855, allocations: 47.58 kB / 449.1 MB, free: 66.64 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5855, allocations: 0 / 449.1 MB, free: 66.64 MB / 314.7 MB Notification: Performance of Templates: time 0.01924/0.6047, allocations: 14.93 MB / 464 MB, free: 55.59 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)