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.0008784/0.0008782, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.005705/0.005705, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004532/0.0004531, allocations: 16 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2539, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003697/0.2576, allocations: 3.818 MB / 330.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.2594, allocations: 0.9517 MB / 331.8 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2596, allocations: 12.69 kB / 331.8 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.2599, allocations: 67.08 kB / 331.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.2604, allocations: 166.1 kB / 332 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.2607, allocations: 135 kB / 332.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008423/0.2615, allocations: 0.7204 MB / 332.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.2619, allocations: 189.9 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.2622, allocations: 249.5 kB / 333.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.2626, allocations: 298.6 kB / 333.6 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.2627, allocations: 34.34 kB / 333.6 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.2628, allocations: 34.72 kB / 333.7 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.2631, allocations: 118.8 kB / 333.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.2634, allocations: 319.2 kB / 334.1 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.264, allocations: 0.6573 MB / 334.8 MB, free: 11.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.264, allocations: 1.094 kB / 334.8 MB, free: 11.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.264, allocations: 0 / 334.8 MB, free: 11.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.264, allocations: 0 / 334.8 MB, free: 11.55 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.001342/0.2654, allocations: 0.8141 MB / 335.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2654, allocations: 12.03 kB / 335.6 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.2656, allocations: 68.09 kB / 335.7 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.2661, allocations: 382 kB / 336 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.2661, allocations: 37.69 kB / 336.1 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.2662, allocations: 52.38 kB / 336.1 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009729/0.2672, allocations: 0.5532 MB / 336.7 MB, free: 9.586 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2673, allocations: 3.938 kB / 336.7 MB, free: 9.582 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.2673, allocations: 20 kB / 336.7 MB, free: 9.562 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.2673, allocations: 12 kB / 336.7 MB, free: 9.551 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009115/0.2683, allocations: 467.7 kB / 337.2 MB, free: 9.094 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.2713, allocations: 2.057 MB / 339.2 MB, free: 6.949 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2723, allocations: 0.6493 MB / 339.9 MB, free: 6.273 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.2729, allocations: 406.2 kB / 340.3 MB, free: 5.875 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.273, allocations: 12.5 kB / 340.3 MB, free: 5.859 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.273, allocations: 39.06 kB / 340.3 MB, free: 5.812 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 2.284e-06/0.273, allocations: 4 kB / 340.3 MB, free: 5.809 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004494/0.2775, allocations: 2.079 MB / 342.4 MB, free: 3.609 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.2776, allocations: 59.97 kB / 342.5 MB, free: 3.539 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.278, allocations: 365.6 kB / 342.8 MB, free: 3.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.278, allocations: 37.7 kB / 342.9 MB, free: 3.129 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2782, allocations: 225.2 kB / 343.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.2783, allocations: 205.1 kB / 343.3 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.2784, allocations: 53.69 kB / 343.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2786, allocations: 350.8 kB / 343.7 MB, free: 2.293 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2789, allocations: 173 kB / 343.8 MB, free: 2.125 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.2793, allocations: 223.8 kB / 344.1 MB, free: 1.898 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.2799, allocations: 384.8 kB / 344.4 MB, free: 1.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2799, allocations: 4 kB / 344.4 MB, free: 1.516 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001152/0.2811, allocations: 0.6774 MB / 345.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2811, allocations: 15.86 kB / 345.1 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2812, allocations: 0 / 345.1 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006919/0.2818, allocations: 267.2 kB / 345.4 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.2822, allocations: 63.89 kB / 345.5 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005839/0.288, allocations: 6.792 MB / 352.2 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2884, allocations: 24.02 kB / 352.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2884, allocations: 16 kB / 352.3 MB, free: 9.094 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.0002389/0.2886, allocations: 173.8 kB / 352.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.2887, allocations: 47.44 kB / 352.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.2889, allocations: 64.95 kB / 352.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.2889, allocations: 12.45 kB / 352.6 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.2889, allocations: 3.938 kB / 352.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2889, allocations: 3.938 kB / 352.6 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.2909, allocations: 1.349 MB / 353.9 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2909, allocations: 0 / 353.9 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2912, allocations: 67.83 kB / 354 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.2919, allocations: 259.1 kB / 354.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.2919, allocations: 12 kB / 354.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.2976, allocations: 6.788 MB / 361.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2977, allocations: 4.062 kB / 361.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.2994, allocations: 1.044 MB / 362.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.2996, allocations: 160.5 kB / 362.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2997, allocations: 15.98 kB / 362.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3, allocations: 20 kB / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3001, allocations: 60.47 kB / 362.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.3001, allocations: 12.47 kB / 362.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002526/0.3004, allocations: 255.2 kB / 362.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3004, allocations: 0 / 362.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008408/0.3013, allocations: 172 kB / 362.8 MB, free: 13.92 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.000148/0.3014, allocations: 119.2 kB / 362.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3029, allocations: 1.049 MB / 363.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3029, allocations: 0 / 363.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.304, allocations: 0.8492 MB / 364.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3045, allocations: 73.47 kB / 364.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3067, allocations: 1.593 MB / 366.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3071, allocations: 0.8714 MB / 367.3 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.3073, allocations: 52.53 kB / 367.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.3074, allocations: 27.44 kB / 367.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3074, allocations: 0 / 367.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of Templates: time 0.01382/0.3212, allocations: 8.124 MB / 375.5 MB, free: 0.9961 MB / 302.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)