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.001087/0.001088, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001302/0.001302, allocations: 177.3 kB / 15.95 MB, free: 216 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.769/1.769, 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.0004693/0.0004693, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 47.59 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006265/0.279, allocations: 5.03 MB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.2836, allocations: 1.647 MB / 333.1 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.2848, allocations: 36.94 kB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006006/0.2854, allocations: 245.5 kB / 333.4 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.2869, allocations: 361 kB / 333.7 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.2877, allocations: 219.7 kB / 334 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.2901, allocations: 1.356 MB / 335.3 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.2921, allocations: 1.593 MB / 336.9 MB, free: 9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2934, allocations: 0.7005 MB / 337.6 MB, free: 8.297 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.2946, allocations: 0.8479 MB / 338.5 MB, free: 7.445 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.2948, allocations: 124 kB / 338.6 MB, free: 7.324 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.2953, allocations: 235.8 kB / 338.8 MB, free: 7.094 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.2958, allocations: 486.5 kB / 339.3 MB, free: 6.617 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.2962, allocations: 432.6 kB / 339.7 MB, free: 6.188 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.2987, allocations: 2.88 MB / 342.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2988, allocations: 0 / 342.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2988, allocations: 0 / 342.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.997e-05/0.2988, allocations: 0 / 342.6 MB, free: 3.301 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.003925/0.3028, allocations: 2.105 MB / 344.7 MB, free: 1.133 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3028, allocations: 8.031 kB / 344.7 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.3032, allocations: 233.3 kB / 344.9 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.3052, allocations: 1.146 MB / 346.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3053, allocations: 156.1 kB / 346.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.3057, allocations: 204 kB / 346.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00449/0.3102, allocations: 2.587 MB / 349 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.3102, allocations: 0 / 349 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.3104, allocations: 80 kB / 349.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.3105, allocations: 59.94 kB / 349.1 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.3141, allocations: 2.077 MB / 351.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.3255, allocations: 7.455 MB / 358.7 MB, free: 2.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.328, allocations: 2.359 MB / 361 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.3281, allocations: 9 kB / 361 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3281, allocations: 43.56 kB / 361.1 MB, free: 164 kB / 286.1 MB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.3281, allocations: 0 / 361.1 MB, free: 164 kB / 286.1 MB Notification: Performance of matching and sorting (n=97): time 0.007866/0.336, allocations: 4.364 MB / 365.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3361, allocations: 60.41 kB / 365.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3373, allocations: 0.8563 MB / 366.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/0.3374, allocations: 41.7 kB / 366.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/0.338, allocations: 0.8217 MB / 367.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.3383, allocations: 335.3 kB / 367.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3384, allocations: 20 kB / 367.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3386, allocations: 345.9 kB / 367.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.3393, allocations: 0.4899 MB / 368.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009625/0.3403, allocations: 0.6699 MB / 369.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.3412, allocations: 0.5729 MB / 369.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3412, allocations: 0 / 369.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002818/0.3441, allocations: 1.632 MB / 371.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3441, allocations: 11.94 kB / 371.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3441, allocations: 8 kB / 371.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.3453, allocations: 467 kB / 371.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.346, allocations: 175.7 kB / 371.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009607/0.3556, allocations: 8.601 MB / 380.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009159/0.3565, allocations: 55.91 kB / 380.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/0.3566, allocations: 32 kB / 380.6 MB, free: 11.78 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.001308/0.3579, allocations: 0.6458 MB / 381.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.3582, allocations: 102.9 kB / 381.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.3585, allocations: 137.9 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/0.3585, allocations: 15.98 kB / 381.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.3585, allocations: 0 / 381.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3586, allocations: 3.984 kB / 381.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.3644, allocations: 3.516 MB / 385 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3644, allocations: 0 / 385 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.365, allocations: 127.9 kB / 385.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009899/0.366, allocations: 458.9 kB / 385.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.366, allocations: 23.94 kB / 385.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/0.3746, allocations: 8.526 MB / 394.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3746, allocations: 7.984 kB / 394.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.3783, allocations: 2.342 MB / 396.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/0.379, allocations: 280.3 kB / 396.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.3791, allocations: 16 kB / 396.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.3796, allocations: 47.95 kB / 396.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.3798, allocations: 92.81 kB / 396.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.3799, allocations: 24 kB / 397 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008599/0.3808, allocations: 0.6005 MB / 397.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3808, allocations: 3.938 kB / 397.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001657/0.3825, allocations: 384 kB / 397.9 MB, free: 9.754 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.0003086/0.3828, allocations: 135.2 kB / 398.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.3857, allocations: 1.812 MB / 399.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.3858, allocations: 4.25 kB / 399.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.3875, allocations: 1.25 MB / 401.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.3889, allocations: 267.2 kB / 401.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.3962, allocations: 4.393 MB / 405.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.3978, allocations: 1.753 MB / 407.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000757/0.3985, allocations: 192.9 kB / 407.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3987, allocations: 63.38 kB / 407.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 1.893e-06/0.3987, allocations: 0 / 407.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Templates: time 0.03771/0.4365, allocations: 18.77 MB / 426.6 MB, free: 12.9 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: