Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 195 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001408/0.001408, allocations: 48.39 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2546, allocations: 46.63 MB / 325.3 MB, free: 1.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005161/0.2599, allocations: 4.212 MB / 329.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2619, allocations: 0.9612 MB / 330.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.2622, allocations: 7.5 kB / 330.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.2625, allocations: 96.16 kB / 330.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.2629, allocations: 192.6 kB / 330.8 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.2632, allocations: 163.1 kB / 330.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.2639, allocations: 0.7274 MB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.2643, allocations: 213.4 kB / 331.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.2647, allocations: 291.5 kB / 332.1 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.2651, allocations: 326.8 kB / 332.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/0.2652, allocations: 61.12 kB / 332.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2653, allocations: 60.59 kB / 332.6 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2655, allocations: 143.4 kB / 332.7 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.2658, allocations: 336 kB / 333 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.2665, allocations: 0.691 MB / 333.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2665, allocations: 4 kB / 333.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2665, allocations: 0 / 333.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2665, allocations: 0 / 333.7 MB, free: 11.57 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001483/0.268, allocations: 0.9119 MB / 334.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.268, allocations: 8.031 kB / 334.7 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.2682, allocations: 68.19 kB / 334.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.2686, allocations: 382 kB / 335.1 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.2687, allocations: 37.69 kB / 335.1 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/0.2688, allocations: 60.27 kB / 335.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.2696, allocations: 0.5376 MB / 335.7 MB, free: 9.457 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2696, allocations: 4 kB / 335.7 MB, free: 9.453 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.2697, allocations: 20 kB / 335.8 MB, free: 9.434 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.2697, allocations: 16 kB / 335.8 MB, free: 9.418 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.2705, allocations: 455.6 kB / 336.2 MB, free: 8.973 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.2731, allocations: 2.038 MB / 338.3 MB, free: 6.848 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.274, allocations: 0.6415 MB / 338.9 MB, free: 6.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.2746, allocations: 398.2 kB / 339.3 MB, free: 5.789 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.2747, allocations: 8.562 kB / 339.3 MB, free: 5.777 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.2747, allocations: 43.06 kB / 339.3 MB, free: 5.727 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 1.803e-06/0.2747, allocations: 3.938 kB / 339.3 MB, free: 5.723 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004324/0.279, allocations: 2.04 MB / 341.4 MB, free: 3.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2791, allocations: 55.97 kB / 341.4 MB, free: 3.496 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.2795, allocations: 361.7 kB / 341.8 MB, free: 3.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2795, allocations: 33.7 kB / 341.8 MB, free: 3.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2797, allocations: 233.2 kB / 342.1 MB, free: 2.859 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.2798, allocations: 201 kB / 342.2 MB, free: 2.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.28, allocations: 94.25 kB / 342.3 MB, free: 2.562 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2801, allocations: 358.8 kB / 342.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.2805, allocations: 165 kB / 342.9 MB, free: 2.043 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2808, allocations: 207.8 kB / 343.1 MB, free: 1.836 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.2815, allocations: 384.9 kB / 343.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2815, allocations: 0 / 343.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001162/0.2826, allocations: 0.6695 MB / 344.1 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2827, allocations: 11.88 kB / 344.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2827, allocations: 0 / 344.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/0.2834, allocations: 259.2 kB / 344.4 MB, free: 500 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2837, allocations: 63.91 kB / 344.4 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.2902, allocations: 7.513 MB / 351.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.2905, allocations: 24.14 kB / 352 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.2906, allocations: 12 kB / 352 MB, free: 8.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * 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.0002393/0.2908, allocations: 165.8 kB / 352.1 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.2909, allocations: 55.42 kB / 352.2 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.2911, allocations: 64.95 kB / 352.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2911, allocations: 12.06 kB / 352.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.2911, allocations: 3.938 kB / 352.3 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2911, allocations: 3.984 kB / 352.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.2931, allocations: 1.333 MB / 353.6 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2931, allocations: 0 / 353.6 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2934, allocations: 55.91 kB / 353.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000647/0.2941, allocations: 259.2 kB / 353.9 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.2941, allocations: 11.98 kB / 353.9 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/0.3005, allocations: 7.505 MB / 361.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3005, allocations: 3.938 kB / 361.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3022, allocations: 1.033 MB / 362.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.3024, allocations: 160.5 kB / 362.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.3024, allocations: 12 kB / 362.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3027, allocations: 12.09 kB / 362.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3028, allocations: 60.41 kB / 362.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.3029, allocations: 19.98 kB / 362.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3031, allocations: 255.2 kB / 363 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3031, allocations: 0 / 363 MB, free: 12.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008432/0.304, allocations: 180 kB / 363.2 MB, free: 12.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * 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.0001582/0.3041, allocations: 103.2 kB / 363.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.3058, allocations: 1.06 MB / 364.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3058, allocations: 0 / 364.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3069, allocations: 0.8414 MB / 365.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.3075, allocations: 97.42 kB / 365.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.3098, allocations: 1.295 MB / 366.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3103, allocations: 0.8754 MB / 367.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.3104, allocations: 48.53 kB / 367.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.3105, allocations: 27.44 kB / 367.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3105, allocations: 4 kB / 367.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of Templates: time 0.01586/0.3264, allocations: 8.943 MB / 376.4 MB, free: 14.98 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)