Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001175/0.001175, allocations: 94 kB / 16.31 MB, free: 5.586 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.001222/0.001222, allocations: 181.5 kB / 17.2 MB, free: 5.504 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.824/1.824, allocations: 205.4 MB / 223.4 MB, free: 5.246 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.0004699/0.00047, allocations: 8 kB / 280.1 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3385, allocations: 47.59 MB / 327.7 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006152/0.3447, allocations: 5.354 MB / 333.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004257/0.349, allocations: 1.601 MB / 334.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.3502, allocations: 36.16 kB / 334.7 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.3508, allocations: 220 kB / 334.9 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.3525, allocations: 357.2 kB / 335.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.3533, allocations: 222.3 kB / 335.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.3562, allocations: 2.123 MB / 337.6 MB, free: 9.699 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.3585, allocations: 1.589 MB / 339.2 MB, free: 8.074 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.36, allocations: 0.7238 MB / 339.9 MB, free: 7.348 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.3616, allocations: 0.9219 MB / 340.9 MB, free: 6.422 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.3618, allocations: 124 kB / 341 MB, free: 6.301 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.3624, allocations: 235.8 kB / 341.2 MB, free: 6.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.363, allocations: 0.4906 MB / 341.7 MB, free: 5.578 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.3636, allocations: 432.6 kB / 342.1 MB, free: 5.148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.3668, allocations: 2.888 MB / 345 MB, free: 2.254 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3668, allocations: 0 / 345 MB, free: 2.254 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.3668, allocations: 0 / 345 MB, free: 2.254 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.312e-05/0.3669, allocations: 3.938 kB / 345 MB, free: 2.25 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.004793/0.3717, allocations: 2.102 MB / 347.1 MB, free: 88 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3718, allocations: 12.03 kB / 347.1 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/0.3724, allocations: 225.5 kB / 347.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.3745, allocations: 1.142 MB / 348.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.3747, allocations: 156.2 kB / 348.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.375, allocations: 208 kB / 348.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005179/0.3801, allocations: 2.603 MB / 351.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.3802, allocations: 3.938 kB / 351.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.3804, allocations: 84 kB / 351.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-05/0.3805, allocations: 52 kB / 351.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.3842, allocations: 2.073 MB / 353.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.3969, allocations: 7.463 MB / 361.1 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.3992, allocations: 2.355 MB / 363.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4007, allocations: 0.9357 MB / 364.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.4007, allocations: 20.88 kB / 364.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4008, allocations: 39.56 kB / 364.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.4008, allocations: 4 kB / 364.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007672/0.4084, allocations: 4.205 MB / 368.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4085, allocations: 64.41 kB / 368.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.4096, allocations: 0.8524 MB / 369.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.4097, allocations: 41.7 kB / 369.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000588/0.4103, allocations: 0.8333 MB / 370.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.4106, allocations: 319.3 kB / 370.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.4107, allocations: 20 kB / 370.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4108, allocations: 349.9 kB / 371.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.4116, allocations: 0.4899 MB / 371.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008861/0.4125, allocations: 0.6699 MB / 372.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008528/0.4133, allocations: 0.5729 MB / 372.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4134, allocations: 4 kB / 372.9 MB, free: 5.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002626/0.416, allocations: 1.624 MB / 374.5 MB, free: 3.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.416, allocations: 8 kB / 374.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.416, allocations: 8 kB / 374.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.4171, allocations: 463 kB / 375 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.4178, allocations: 183.7 kB / 375.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008817/0.4266, allocations: 8.455 MB / 383.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.4274, allocations: 51.97 kB / 383.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.4274, allocations: 35.98 kB / 383.7 MB, free: 10.11 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.001196/0.4287, allocations: 0.6419 MB / 384.3 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.4289, allocations: 98.78 kB / 384.4 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.4292, allocations: 141.9 kB / 384.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.4292, allocations: 12 kB / 384.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.4292, allocations: 0 / 384.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4292, allocations: 11.91 kB / 384.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.4349, allocations: 3.528 MB / 388.1 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4349, allocations: 0 / 388.1 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.4355, allocations: 135.8 kB / 388.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009502/0.4364, allocations: 447.2 kB / 388.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.4365, allocations: 24 kB / 388.7 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008512/0.445, allocations: 8.365 MB / 397.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4451, allocations: 0 / 397.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.449, allocations: 2.319 MB / 399.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.4497, allocations: 271.9 kB / 399.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.45, allocations: 19.98 kB / 399.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.4506, allocations: 48.08 kB / 399.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.4508, allocations: 92.77 kB / 399.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.4509, allocations: 28 kB / 399.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001117/0.452, allocations: 0.6005 MB / 400.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.452, allocations: 0 / 400.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00219/0.4542, allocations: 384 kB / 400.8 MB, free: 8.281 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.0004191/0.4547, allocations: 139.2 kB / 400.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003194/0.4579, allocations: 1.816 MB / 402.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4579, allocations: 0 / 402.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.4599, allocations: 1.243 MB / 404 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.4615, allocations: 287.3 kB / 404.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.4697, allocations: 4.381 MB / 408.7 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.4719, allocations: 1.714 MB / 410.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008167/0.4728, allocations: 196.8 kB / 410.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.4731, allocations: 67.42 kB / 410.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4731, allocations: 0 / 410.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Templates: time 0.04024/0.5133, allocations: 18.86 MB / 429.5 MB, free: 11.36 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)