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.001269/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001655/0.001655, allocations: 194.2 kB / 16.14 MB, free: 6.66 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.508/1.508, allocations: 205.1 MB / 222 MB, free: 4.73 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.001339/0.001339, allocations: 51.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3081, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005719/0.3139, allocations: 4.223 MB / 328.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3159, allocations: 0.9656 MB / 329.9 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.3162, allocations: 11.38 kB / 329.9 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.3165, allocations: 71.53 kB / 329.9 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.317, allocations: 162 kB / 330.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3173, allocations: 139.2 kB / 330.2 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.3181, allocations: 0.7192 MB / 331 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.3185, allocations: 184.2 kB / 331.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.3189, allocations: 268.8 kB / 331.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.3193, allocations: 319.8 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.3193, allocations: 42.53 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3195, allocations: 42.16 kB / 331.8 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3196, allocations: 131.9 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.32, allocations: 307.4 kB / 332.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.3207, allocations: 0.6692 MB / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3207, allocations: 0 / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3207, allocations: 0 / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3207, allocations: 0 / 332.9 MB, free: 11.72 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.001633/0.3223, allocations: 0.918 MB / 333.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3224, allocations: 12.03 kB / 333.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3225, allocations: 64.19 kB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.323, allocations: 378 kB / 334.2 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.3231, allocations: 45.62 kB / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.3232, allocations: 52.28 kB / 334.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.324, allocations: 0.5455 MB / 334.9 MB, free: 9.801 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3241, allocations: 3.938 kB / 334.9 MB, free: 9.797 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.3241, allocations: 27.94 kB / 334.9 MB, free: 9.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3241, allocations: 12 kB / 334.9 MB, free: 9.758 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.3249, allocations: 451.7 kB / 335.4 MB, free: 9.316 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.3276, allocations: 2.034 MB / 337.4 MB, free: 7.195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.3285, allocations: 0.6454 MB / 338.1 MB, free: 6.527 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.3291, allocations: 398.2 kB / 338.4 MB, free: 6.137 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.3291, allocations: 16.5 kB / 338.5 MB, free: 6.117 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3292, allocations: 43.06 kB / 338.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 1.853e-06/0.3292, allocations: 0 / 338.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004432/0.3336, allocations: 2.024 MB / 340.5 MB, free: 3.922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.3337, allocations: 67.95 kB / 340.6 MB, free: 3.844 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.3341, allocations: 357.7 kB / 340.9 MB, free: 3.484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.3341, allocations: 37.7 kB / 341 MB, free: 3.441 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3343, allocations: 225.2 kB / 341.2 MB, free: 3.219 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3344, allocations: 205 kB / 341.4 MB, free: 3.016 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.3346, allocations: 90.25 kB / 341.5 MB, free: 2.922 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3347, allocations: 358.8 kB / 341.8 MB, free: 2.562 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.3351, allocations: 169 kB / 342 MB, free: 2.398 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3354, allocations: 207.8 kB / 342.2 MB, free: 2.188 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.3361, allocations: 380.8 kB / 342.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3361, allocations: 0 / 342.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001213/0.3373, allocations: 0.6734 MB / 343.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3374, allocations: 7.938 kB / 343.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3374, allocations: 32 / 343.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/0.3382, allocations: 259.2 kB / 343.5 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3385, allocations: 59.84 kB / 343.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/0.3449, allocations: 6.769 MB / 350.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.3453, allocations: 20.02 kB / 350.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3453, allocations: 16 kB / 350.4 MB, free: 9.441 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.0002905/0.3456, allocations: 170.3 kB / 350.5 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.3457, allocations: 51.44 kB / 350.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.3458, allocations: 64.95 kB / 350.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3458, allocations: 12.05 kB / 350.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.3459, allocations: 7.938 kB / 350.7 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3459, allocations: 7.922 kB / 350.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.3479, allocations: 1.337 MB / 352 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3479, allocations: 0 / 352 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.3482, allocations: 55.91 kB / 352.1 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.3489, allocations: 259.4 kB / 352.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.3489, allocations: 12 kB / 352.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/0.3546, allocations: 6.785 MB / 359.1 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3547, allocations: 0 / 359.1 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.3563, allocations: 1.033 MB / 360.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.3566, allocations: 160.4 kB / 360.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.3567, allocations: 12 kB / 360.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.357, allocations: 15.98 kB / 360.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.3571, allocations: 56.48 kB / 360.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.3572, allocations: 12 kB / 360.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.3575, allocations: 259.2 kB / 360.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3575, allocations: 0 / 360.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009356/0.3584, allocations: 175.9 kB / 360.8 MB, free: 14.3 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.0001707/0.3586, allocations: 111.2 kB / 360.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.3604, allocations: 1.033 MB / 362 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3604, allocations: 0 / 362 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3614, allocations: 0.8336 MB / 362.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.3621, allocations: 89.66 kB / 362.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3647, allocations: 1.497 MB / 364.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.3653, allocations: 0.8714 MB / 365.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.3655, allocations: 52.53 kB / 365.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.3656, allocations: 27.44 kB / 365.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3656, allocations: 0 / 365.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of Templates: time 0.01618/0.3818, allocations: 8.23 MB / 373.6 MB, free: 1.395 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)