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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.002021, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002058/0.002058, allocations: 190.2 kB / 16.25 MB, free: 6.641 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.758/1.758, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001747/0.001747, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4388, allocations: 46.62 MB / 324.8 MB, free: 1.91 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009928/0.4489, allocations: 6.166 MB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.4551, allocations: 1.644 MB / 332.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.4568, allocations: 40.5 kB / 332.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.4579, allocations: 237.9 kB / 332.9 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.4604, allocations: 372.6 kB / 333.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.4615, allocations: 303.7 kB / 333.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003769/0.4653, allocations: 2.145 MB / 335.7 MB, free: 9.168 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.4682, allocations: 2.387 MB / 338.1 MB, free: 6.719 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.4704, allocations: 1.02 MB / 339.1 MB, free: 5.695 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.4724, allocations: 1.23 MB / 340.4 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.4728, allocations: 296 kB / 340.7 MB, free: 4.172 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009888/0.4738, allocations: 435.7 kB / 341.1 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007887/0.4746, allocations: 0.6974 MB / 341.8 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.4764, allocations: 1.229 MB / 343 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.4809, allocations: 3.587 MB / 346.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.4809, allocations: 0 / 346.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.481, allocations: 0 / 346.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.4811, allocations: 0 / 346.6 MB, free: 14.21 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.007274/0.4884, allocations: 2.464 MB / 349.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.462e-05/0.4885, allocations: 8.031 kB / 349.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.4892, allocations: 238.1 kB / 349.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.4914, allocations: 1.17 MB / 350.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.4915, allocations: 148.5 kB / 350.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.4918, allocations: 208.1 kB / 350.8 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0059/0.4978, allocations: 2.614 MB / 353.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.4979, allocations: 0 / 353.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.4981, allocations: 80 kB / 353.5 MB, free: 7.098 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.4982, allocations: 56 kB / 353.6 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.5025, allocations: 2.089 MB / 355.7 MB, free: 4.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.5167, allocations: 7.404 MB / 363.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.5195, allocations: 2.347 MB / 365.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.5211, allocations: 0.9433 MB / 366.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.5212, allocations: 20.92 kB / 366.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.5213, allocations: 43.56 kB / 366.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 5.009e-06/0.5213, allocations: 0 / 366.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.009316/0.5306, allocations: 4.173 MB / 370.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.5307, allocations: 68.34 kB / 370.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.5323, allocations: 0.864 MB / 371.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.5324, allocations: 41.7 kB / 371.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.5332, allocations: 0.8256 MB / 372.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.5335, allocations: 323.3 kB / 372.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.5339, allocations: 186.5 kB / 372.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.5341, allocations: 341.9 kB / 373.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007749/0.5349, allocations: 497.7 kB / 373.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000946/0.5358, allocations: 0.6694 MB / 374.4 MB, free: 1.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.5376, allocations: 1.201 MB / 375.6 MB, free: 288 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.5376, allocations: 4 kB / 375.6 MB, free: 284 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00307/0.5407, allocations: 1.62 MB / 377.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.5407, allocations: 8 kB / 377.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.5408, allocations: 4 kB / 377.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.5419, allocations: 475 kB / 377.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.5426, allocations: 175.7 kB / 377.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.554, allocations: 9.304 MB / 387.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5552, allocations: 47.95 kB / 387.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/0.5553, allocations: 40.06 kB / 387.2 MB, free: 4.023 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.001623/0.5569, allocations: 0.634 MB / 387.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.5573, allocations: 102.8 kB / 388 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.5576, allocations: 134 kB / 388.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.5576, allocations: 12 kB / 388.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/0.5576, allocations: 0 / 388.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.5577, allocations: 7.969 kB / 388.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/0.5652, allocations: 3.504 MB / 391.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.5653, allocations: 7.938 kB / 391.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.5659, allocations: 123.8 kB / 391.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.567, allocations: 459.3 kB / 392.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.5671, allocations: 27.92 kB / 392.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.5782, allocations: 9.203 MB / 401.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5783, allocations: 0 / 401.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.5829, allocations: 2.307 MB / 403.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/0.5837, allocations: 279.8 kB / 404 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.5839, allocations: 27.97 kB / 404 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.5844, allocations: 39.95 kB / 404.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.5847, allocations: 88.81 kB / 404.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.5848, allocations: 20 kB / 404.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.5859, allocations: 0.6083 MB / 404.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.586, allocations: 4 kB / 404.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002124/0.5881, allocations: 376 kB / 405.2 MB, free: 1.375 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.0004563/0.5886, allocations: 151 kB / 405.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004277/0.5928, allocations: 2.093 MB / 407.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5929, allocations: 0 / 407.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.5949, allocations: 1.246 MB / 408.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5964, allocations: 303.3 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.007641/0.6041, allocations: 4.48 MB / 413.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.6057, allocations: 1.718 MB / 415.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007564/0.6065, allocations: 192.8 kB / 415.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.6067, allocations: 67.44 kB / 415.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 1.814e-06/0.6067, allocations: 0 / 415.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.04019/0.6469, allocations: 20.5 MB / 435.9 MB, free: 2.41 MB / 366.1 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)