Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.000991/0.000991, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008948/0.008948, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.544/1.544, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004499/0.0004499, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 47.59 MB / 327 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004487/0.2824, allocations: 3.831 MB / 330.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2846, allocations: 0.9361 MB / 331.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.2849, allocations: 15.34 kB / 331.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.2851, allocations: 72.16 kB / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.2856, allocations: 169.3 kB / 332 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.2859, allocations: 135.1 kB / 332.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007859/0.2867, allocations: 0.7156 MB / 332.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.2871, allocations: 191.5 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.2874, allocations: 250.5 kB / 333.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.2879, allocations: 297.1 kB / 333.6 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/0.288, allocations: 34.69 kB / 333.6 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.2881, allocations: 33.66 kB / 333.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.2882, allocations: 119.3 kB / 333.8 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.2886, allocations: 319.2 kB / 334.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.2893, allocations: 0.6539 MB / 334.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2893, allocations: 0 / 334.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2894, allocations: 5.188 kB / 334.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2894, allocations: 0 / 334.8 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.001438/0.2908, allocations: 0.8172 MB / 335.6 MB, free: 10.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2909, allocations: 12.03 kB / 335.6 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.291, allocations: 68.09 kB / 335.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.2914, allocations: 374 kB / 336 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.2915, allocations: 45.69 kB / 336.1 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.2916, allocations: 56.31 kB / 336.1 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.2925, allocations: 0.5494 MB / 336.7 MB, free: 9.578 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2925, allocations: 3.938 kB / 336.7 MB, free: 9.574 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.2926, allocations: 20 kB / 336.7 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2926, allocations: 12 kB / 336.7 MB, free: 9.543 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.2934, allocations: 459.7 kB / 337.2 MB, free: 9.094 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.2963, allocations: 2.061 MB / 339.2 MB, free: 6.945 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.2972, allocations: 0.6493 MB / 339.9 MB, free: 6.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.2979, allocations: 406.2 kB / 340.3 MB, free: 5.871 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.2979, allocations: 12.56 kB / 340.3 MB, free: 5.855 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.298, allocations: 47 kB / 340.3 MB, free: 5.801 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.298, allocations: 0 / 340.3 MB, free: 5.801 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004791/0.3028, allocations: 2.083 MB / 342.4 MB, free: 3.598 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3029, allocations: 55.97 kB / 342.5 MB, free: 3.531 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.3033, allocations: 361.6 kB / 342.8 MB, free: 3.168 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3034, allocations: 33.7 kB / 342.9 MB, free: 3.129 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3035, allocations: 233.2 kB / 343.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.3037, allocations: 197.1 kB / 343.3 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.3037, allocations: 49.69 kB / 343.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3039, allocations: 362.8 kB / 343.7 MB, free: 2.285 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.3042, allocations: 169 kB / 343.8 MB, free: 2.121 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.3046, allocations: 215.8 kB / 344.1 MB, free: 1.902 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.3053, allocations: 396.8 kB / 344.4 MB, free: 1.512 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3053, allocations: 7.938 kB / 344.4 MB, free: 1.504 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001285/0.3066, allocations: 0.6774 MB / 345.1 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.3066, allocations: 11.88 kB / 345.1 MB, free: 0.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3066, allocations: 0 / 345.1 MB, free: 0.793 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000777/0.3074, allocations: 263.2 kB / 345.4 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.3077, allocations: 63.91 kB / 345.5 MB, free: 472 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.3137, allocations: 6.788 MB / 352.2 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.3141, allocations: 23.97 kB / 352.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3142, 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.0002338/0.3144, allocations: 174.3 kB / 352.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.3145, allocations: 47.5 kB / 352.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3146, allocations: 64.95 kB / 352.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3147, allocations: 8 kB / 352.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3147, allocations: 3.938 kB / 352.6 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3147, allocations: 3.984 kB / 352.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.3166, allocations: 1.356 MB / 353.9 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3167, allocations: 0 / 353.9 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3169, allocations: 63.91 kB / 354 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.3176, allocations: 259.1 kB / 354.2 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.3176, allocations: 8 kB / 354.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.3233, allocations: 6.796 MB / 361.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3234, allocations: 0 / 361.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.3251, allocations: 1.045 MB / 362.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.3253, allocations: 160.4 kB / 362.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.3254, allocations: 12 kB / 362.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3257, allocations: 20.45 kB / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.3258, allocations: 56.48 kB / 362.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.3259, allocations: 12 kB / 362.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.3262, allocations: 259.2 kB / 362.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3262, allocations: 0 / 362.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009349/0.3271, allocations: 179.9 kB / 362.8 MB, free: 13.91 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.0001883/0.3273, allocations: 115.2 kB / 362.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3289, allocations: 1.041 MB / 363.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3289, allocations: 0 / 363.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.3301, allocations: 0.8453 MB / 364.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.3306, allocations: 93.47 kB / 364.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.333, allocations: 1.589 MB / 366.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3335, allocations: 0.8754 MB / 367.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.3336, allocations: 48.55 kB / 367.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.3337, allocations: 27.44 kB / 367.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3337, allocations: 0 / 367.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of Templates: time 0.01488/0.3486, allocations: 8.116 MB / 375.5 MB, free: 1 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)