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.0008084/0.0008082, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008832/0.0008834, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.000547/0.0005471, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3369, allocations: 47.6 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006357/0.3433, allocations: 5.343 MB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004757/0.3481, allocations: 1.612 MB / 333.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.3496, allocations: 33.31 kB / 333.5 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.3502, allocations: 219 kB / 333.7 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.352, allocations: 360.7 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.3528, allocations: 225.9 kB / 334.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.3564, allocations: 2.119 MB / 336.4 MB, free: 9.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.3588, allocations: 1.589 MB / 338 MB, free: 8.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.3605, allocations: 0.7121 MB / 338.7 MB, free: 7.391 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.362, allocations: 0.9336 MB / 339.6 MB, free: 6.453 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3622, allocations: 124 kB / 339.7 MB, free: 6.332 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.3628, allocations: 235.8 kB / 340 MB, free: 6.102 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.3633, allocations: 498.3 kB / 340.4 MB, free: 5.613 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.3639, allocations: 436.6 kB / 340.9 MB, free: 5.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.3675, allocations: 2.877 MB / 343.7 MB, free: 2.297 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.3675, allocations: 4 kB / 343.8 MB, free: 2.293 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3675, allocations: 4 kB / 343.8 MB, free: 2.289 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001265/0.3677, allocations: 0 / 343.8 MB, free: 2.289 MB / 270.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.00544/0.3731, allocations: 2.102 MB / 345.9 MB, free: 128 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.3732, allocations: 12.03 kB / 345.9 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/0.3737, allocations: 225.3 kB / 346.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.3756, allocations: 1.146 MB / 347.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.3757, allocations: 156.2 kB / 347.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.376, allocations: 200 kB / 347.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/0.3809, allocations: 2.603 MB / 350.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.381, allocations: 3.984 kB / 350.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.3812, allocations: 84 kB / 350.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-05/0.3813, allocations: 59.98 kB / 350.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.385, allocations: 2.077 MB / 352.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.3976, allocations: 7.47 MB / 359.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.4001, allocations: 2.343 MB / 362.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.4017, allocations: 0.9318 MB / 363.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-05/0.4018, allocations: 16.94 kB / 363.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.4018, allocations: 51.45 kB / 363.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 4.368e-06/0.4018, allocations: 0 / 363.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.008266/0.4101, allocations: 4.205 MB / 367.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4102, allocations: 64.41 kB / 367.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4116, allocations: 0.8563 MB / 368.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.4116, allocations: 41.7 kB / 368.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.4123, allocations: 0.8294 MB / 369.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.4126, allocations: 323.3 kB / 369.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.4126, allocations: 20 kB / 369.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4128, allocations: 349.9 kB / 369.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.4136, allocations: 0.4938 MB / 370.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.4146, allocations: 0.6738 MB / 371.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/0.4154, allocations: 0.569 MB / 371.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4154, allocations: 0 / 371.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002912/0.4184, allocations: 1.624 MB / 373.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4184, allocations: 8 kB / 373.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4184, allocations: 4 kB / 373.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.4196, allocations: 463 kB / 373.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.4203, allocations: 175.8 kB / 373.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.4295, allocations: 8.471 MB / 382.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.4304, allocations: 47.95 kB / 382.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.4305, allocations: 32 kB / 382.4 MB, free: 10.15 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 (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 (88): * Single equations (assignments): 82 * Array equations: 2 * 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.001379/0.4319, allocations: 0.6379 MB / 383.1 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.4323, allocations: 102.8 kB / 383.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.4326, allocations: 138 kB / 383.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.4326, allocations: 15.95 kB / 383.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.4327, allocations: 0 / 383.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4327, allocations: 3.984 kB / 383.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00588/0.4386, allocations: 3.524 MB / 386.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4386, allocations: 8.188 kB / 386.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.4392, allocations: 131.8 kB / 387 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.4403, allocations: 459.1 kB / 387.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.4403, allocations: 19.98 kB / 387.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009791/0.4501, allocations: 8.357 MB / 395.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4502, allocations: 32 / 395.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/0.4545, allocations: 2.319 MB / 398.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/0.4554, allocations: 283.8 kB / 398.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.4558, allocations: 16 kB / 398.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.4564, allocations: 47.95 kB / 398.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.4567, allocations: 80.88 kB / 398.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.4568, allocations: 39.88 kB / 398.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.4581, allocations: 0.5966 MB / 399.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4581, allocations: 0 / 399.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002213/0.4603, allocations: 376 kB / 399.6 MB, free: 8.328 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 (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.0004129/0.4608, allocations: 147.1 kB / 399.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.4639, allocations: 1.804 MB / 401.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.464, allocations: 8.062 kB / 401.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.4658, allocations: 1.246 MB / 402.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.4675, allocations: 291.3 kB / 403 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008808/0.4764, allocations: 4.381 MB / 407.4 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.4792, allocations: 1.718 MB / 409.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008999/0.4802, allocations: 192.9 kB / 409.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.4805, allocations: 67.42 kB / 409.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4805, allocations: 0 / 409.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.04438/0.5249, allocations: 18.84 MB / 428.2 MB, free: 11.41 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)