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.002192/0.002192, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002187/0.002186, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.875/1.875, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.002058/0.002058, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008302/0.3559, allocations: 6.159 MB / 331 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.3615, allocations: 1.647 MB / 332.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.3632, allocations: 36.84 kB / 332.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008264/0.3642, allocations: 232.9 kB / 332.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.3664, allocations: 372.6 kB / 333.3 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.3674, allocations: 304.8 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.3708, allocations: 2.151 MB / 335.7 MB, free: 9.172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/0.3739, allocations: 2.379 MB / 338.1 MB, free: 6.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.3761, allocations: 1.028 MB / 339.1 MB, free: 5.699 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.3793, allocations: 1.237 MB / 340.4 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006151/0.38, allocations: 288 kB / 340.7 MB, free: 4.176 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.3812, allocations: 423.7 kB / 341.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006816/0.3819, allocations: 0.7129 MB / 341.8 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.3837, allocations: 1.221 MB / 343 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.3888, allocations: 3.587 MB / 346.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3888, allocations: 0 / 346.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3888, allocations: 0 / 346.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.389, allocations: 0 / 346.6 MB, free: 14.22 MB / 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.007206/0.3962, allocations: 2.468 MB / 349.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.3963, allocations: 8.031 kB / 349.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/0.3969, allocations: 238.1 kB / 349.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.3994, allocations: 1.17 MB / 350.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3995, allocations: 152.5 kB / 350.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.3998, allocations: 204.1 kB / 350.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/0.4049, allocations: 2.61 MB / 353.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.405, allocations: 0 / 353.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.4052, allocations: 88 kB / 353.5 MB, free: 7.098 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.4054, allocations: 52 kB / 353.6 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.4093, allocations: 2.077 MB / 355.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.4229, allocations: 7.415 MB / 363.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.4255, allocations: 2.351 MB / 365.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.4271, allocations: 0.9433 MB / 366.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.4272, allocations: 12.94 kB / 366.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.4272, allocations: 43.56 kB / 366.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 4.879e-06/0.4273, allocations: 4 kB / 366.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.00851/0.4358, allocations: 4.169 MB / 370.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.4359, allocations: 72.34 kB / 370.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4371, allocations: 0.8602 MB / 371.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.4371, allocations: 41.7 kB / 371.6 MB, free: 4.469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.4377, allocations: 0.8333 MB / 372.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.438, allocations: 323.3 kB / 372.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.4382, allocations: 174.5 kB / 372.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4384, allocations: 345.9 kB / 373.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.4391, allocations: 0.4899 MB / 373.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009369/0.44, allocations: 0.6694 MB / 374.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4417, allocations: 1.201 MB / 375.6 MB, free: 292 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4417, allocations: 4 kB / 375.6 MB, free: 288 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002823/0.4445, allocations: 1.628 MB / 377.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.4446, allocations: 8 kB / 377.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/0.4446, allocations: 4 kB / 377.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.4458, allocations: 470.9 kB / 377.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.4464, allocations: 179.7 kB / 377.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009535/0.456, allocations: 9.296 MB / 387.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.4569, allocations: 43.91 kB / 387.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.457, allocations: 39.98 kB / 387.2 MB, free: 4.031 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.001316/0.4584, allocations: 0.6423 MB / 387.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4587, allocations: 98.78 kB / 388 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4589, allocations: 134 kB / 388.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.459, allocations: 12 kB / 388.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.459, allocations: 4 kB / 388.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.459, allocations: 7.922 kB / 388.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/0.4648, allocations: 3.504 MB / 391.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4649, allocations: 7.875 kB / 391.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.4654, allocations: 123.8 kB / 391.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009792/0.4664, allocations: 451.1 kB / 392.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.4665, allocations: 20 kB / 392.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009093/0.4756, allocations: 9.214 MB / 401.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4757, allocations: 0 / 401.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.4794, allocations: 2.308 MB / 403.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/0.4801, allocations: 283.8 kB / 404 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4802, allocations: 20 kB / 404 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.4807, allocations: 47.95 kB / 404.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.481, allocations: 84.81 kB / 404.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.481, allocations: 27.98 kB / 404.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008464/0.4819, allocations: 0.6083 MB / 404.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.4819, allocations: 0 / 404.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001627/0.4835, allocations: 379.9 kB / 405.2 MB, free: 1.371 MB / 334.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.000332/0.4839, allocations: 147.2 kB / 405.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003881/0.4878, allocations: 2.092 MB / 407.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4878, allocations: 1.312 kB / 407.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.4898, allocations: 1.242 MB / 408.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.4917, allocations: 302.8 kB / 408.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.5, allocations: 4.48 MB / 413.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.5017, allocations: 1.722 MB / 415.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008417/0.5025, allocations: 192.9 kB / 415.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.5028, allocations: 67.42 kB / 415.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5028, allocations: 4 kB / 415.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Templates: time 0.03971/0.5425, allocations: 20.49 MB / 435.9 MB, free: 2.418 MB / 366.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)