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.001309/0.001309, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001553/0.001553, allocations: 172.7 kB / 15.95 MB, free: 208 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.812/1.812, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004641/0.0004644, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3338, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009478/0.3433, allocations: 5.35 MB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.3497, allocations: 1.601 MB / 333.4 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.3513, allocations: 36.78 kB / 333.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.3526, allocations: 219.8 kB / 333.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.3551, allocations: 360.3 kB / 334 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3561, allocations: 227.3 kB / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003853/0.36, allocations: 2.12 MB / 336.4 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.363, allocations: 1.585 MB / 337.9 MB, free: 7.961 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.3648, allocations: 0.7238 MB / 338.7 MB, free: 7.234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.3665, allocations: 0.9258 MB / 339.6 MB, free: 6.305 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.3668, allocations: 120 kB / 339.7 MB, free: 6.188 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006719/0.3674, allocations: 235.7 kB / 339.9 MB, free: 5.957 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.368, allocations: 0.4945 MB / 340.4 MB, free: 5.461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005945/0.3686, allocations: 432.6 kB / 340.9 MB, free: 5.031 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.3715, allocations: 2.884 MB / 343.7 MB, free: 2.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3715, allocations: 4 kB / 343.8 MB, free: 2.137 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3715, allocations: 0 / 343.8 MB, free: 2.137 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.192e-05/0.3716, allocations: 0 / 343.8 MB, free: 2.137 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.003793/0.3754, allocations: 2.102 MB / 345.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3754, allocations: 12.02 kB / 345.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.3758, allocations: 229.3 kB / 346.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.3776, allocations: 1.146 MB / 347.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.3778, allocations: 156.2 kB / 347.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.378, allocations: 204 kB / 347.6 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.3828, allocations: 2.599 MB / 350.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.3828, allocations: 3.938 kB / 350.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.383, allocations: 88 kB / 350.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.986e-05/0.3831, allocations: 55.98 kB / 350.3 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.3869, allocations: 2.073 MB / 352.4 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.3992, allocations: 7.467 MB / 359.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.402, allocations: 2.343 MB / 362.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.4037, allocations: 0.9435 MB / 363.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-05/0.4038, allocations: 9 kB / 363.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.4039, allocations: 43.52 kB / 363.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.907e-06/0.4039, allocations: 0 / 363.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.009154/0.413, allocations: 4.209 MB / 367.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.4132, allocations: 68.41 kB / 367.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.4148, allocations: 0.8484 MB / 368.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/0.4149, allocations: 41.7 kB / 368.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006965/0.4156, allocations: 0.8333 MB / 369.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.4159, allocations: 323.3 kB / 369.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.416, allocations: 20 kB / 369.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4162, allocations: 349.9 kB / 369.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008659/0.417, allocations: 0.4899 MB / 370.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.4181, allocations: 0.6738 MB / 371 MB, free: 5.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4191, allocations: 0.569 MB / 371.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4191, allocations: 0 / 371.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003011/0.4221, allocations: 1.624 MB / 373.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4222, allocations: 11.98 kB / 373.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4222, allocations: 4 kB / 373.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.4234, allocations: 467 kB / 373.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.4241, allocations: 183.7 kB / 373.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009685/0.4338, allocations: 8.455 MB / 382.3 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.4347, allocations: 59.94 kB / 382.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.4348, allocations: 36 kB / 382.4 MB, free: 9.988 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.001378/0.4362, allocations: 0.6302 MB / 383.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.4364, allocations: 106.8 kB / 383.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.4368, allocations: 134 kB / 383.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.4368, allocations: 15.95 kB / 383.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.4368, allocations: 7.938 kB / 383.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4368, allocations: 3.984 kB / 383.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.4428, allocations: 3.524 MB / 386.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4429, allocations: 4.062 kB / 386.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.4434, allocations: 131.8 kB / 387 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009665/0.4444, allocations: 451.1 kB / 387.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.4445, allocations: 27.98 kB / 387.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008276/0.4527, allocations: 8.365 MB / 395.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4528, allocations: 0 / 395.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.4563, allocations: 2.315 MB / 398.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.4569, allocations: 279.8 kB / 398.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.457, allocations: 20 kB / 398.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.4574, allocations: 44.08 kB / 398.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.4577, allocations: 88.88 kB / 398.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.4577, allocations: 31.94 kB / 398.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008557/0.4586, allocations: 0.6005 MB / 399.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4586, allocations: 0 / 399.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001614/0.4602, allocations: 380 kB / 399.6 MB, free: 8.164 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.0003115/0.4605, allocations: 143.2 kB / 399.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.4637, allocations: 1.816 MB / 401.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4637, allocations: 4 kB / 401.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.4656, allocations: 1.239 MB / 402.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.4673, allocations: 283.2 kB / 403 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.4752, allocations: 4.377 MB / 407.4 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.4769, allocations: 1.718 MB / 409.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00072/0.4776, allocations: 188.9 kB / 409.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.478, allocations: 75.36 kB / 409.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.478, allocations: 0 / 409.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Templates: time 0.03708/0.5151, allocations: 18.85 MB / 428.2 MB, free: 11.25 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)