Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009831, allocations: 91.14 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.01104/0.01104, allocations: 172.7 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.664/1.664, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005063/0.0005063, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3177, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002619/0.3204, allocations: 2.157 MB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3218, allocations: 0.6725 MB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.322, allocations: 3.25 kB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.3221, allocations: 22.45 kB / 329.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.3223, allocations: 63.44 kB / 329.9 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.3226, allocations: 66.81 kB / 330 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.3229, allocations: 262.8 kB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.3232, allocations: 73.81 kB / 330.3 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3233, allocations: 85.81 kB / 330.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.3235, allocations: 113 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.3236, allocations: 11.69 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.3237, allocations: 26.41 kB / 330.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.3237, allocations: 34.59 kB / 330.6 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3239, allocations: 140.3 kB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.3242, allocations: 260.8 kB / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3242, allocations: 0 / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3242, allocations: 0 / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3243, allocations: 1.031 kB / 331 MB, free: 14.38 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008747/0.3251, allocations: 494.8 kB / 331.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3252, allocations: 10.25 kB / 331.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.3253, allocations: 25.75 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3256, allocations: 236.1 kB / 331.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3256, allocations: 12.5 kB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.3257, allocations: 25.19 kB / 331.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.3261, allocations: 199.4 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3262, allocations: 0 / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3262, allocations: 10.41 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3262, allocations: 5.125 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.3265, allocations: 157 kB / 332.1 MB, free: 13.44 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.328, allocations: 0.9378 MB / 333.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.3284, allocations: 155.8 kB / 333.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.3286, allocations: 102 kB / 333.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3286, allocations: 1.906 kB / 333.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3287, allocations: 36.88 kB / 333.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.3287, allocations: 0 / 333.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00131/0.33, allocations: 435.6 kB / 333.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.33, allocations: 57.58 kB / 333.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3302, allocations: 171.2 kB / 334 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3302, allocations: 30.92 kB / 334 MB, free: 11.87 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.3303, allocations: 142.1 kB / 334.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.3304, allocations: 62.41 kB / 334.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.3304, allocations: 18.94 kB / 334.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3306, allocations: 334.9 kB / 334.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3307, allocations: 51.88 kB / 334.6 MB, free: 11.31 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3309, allocations: 70.5 kB / 334.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.3312, allocations: 137 kB / 334.8 MB, free: 11.19 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3312, allocations: 4 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004119/0.3316, allocations: 220.3 kB / 335.1 MB, free: 11.01 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3316, allocations: 8 kB / 335.1 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3316, allocations: 3.938 kB / 335.1 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.333, allocations: 220.6 kB / 335.3 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3331, allocations: 31.97 kB / 335.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005103/0.3337, allocations: 0.6108 MB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3338, allocations: 23.94 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3338, allocations: 4 kB / 336 MB, free: 10.08 MB / 270.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.334, allocations: 133.8 kB / 336.1 MB, free: 9.941 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.334, allocations: 15.81 kB / 336.1 MB, free: 9.926 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.3345, allocations: 236.2 kB / 336.3 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3345, allocations: 0 / 336.3 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3345, allocations: 0 / 336.3 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3345, allocations: 3.984 kB / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.3354, allocations: 0.6013 MB / 336.9 MB, free: 9.016 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3355, allocations: 3.938 kB / 336.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3356, allocations: 31.92 kB / 337 MB, free: 8.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.3367, allocations: 208.7 kB / 337.2 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3368, allocations: 11.92 kB / 337.2 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004866/0.3373, allocations: 0.6265 MB / 337.8 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3373, allocations: 0 / 337.8 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.3381, allocations: 436.7 kB / 338.2 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.3382, allocations: 104.8 kB / 338.3 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.3383, allocations: 0 / 338.3 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3384, allocations: 15.98 kB / 338.4 MB, free: 7.523 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.3385, allocations: 12.05 kB / 338.4 MB, free: 7.512 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3385, allocations: 8 kB / 338.4 MB, free: 7.504 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3386, allocations: 127.2 kB / 338.5 MB, free: 7.379 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3386, allocations: 0 / 338.5 MB, free: 7.379 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.339, allocations: 63.84 kB / 338.6 MB, free: 7.316 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001799/0.3392, allocations: 99.25 kB / 338.7 MB, free: 7.211 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.3396, allocations: 152.4 kB / 338.8 MB, free: 7.062 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3396, allocations: 0 / 338.8 MB, free: 7.062 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3398, allocations: 91.83 kB / 338.9 MB, free: 6.973 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.3402, allocations: 32.2 kB / 338.9 MB, free: 6.941 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3413, allocations: 0.6909 MB / 339.6 MB, free: 6.223 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3416, allocations: 0.7362 MB / 340.4 MB, free: 5.461 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.3417, allocations: 13.56 kB / 340.4 MB, free: 5.445 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.3417, allocations: 11.44 kB / 340.4 MB, free: 5.434 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3417, allocations: 4 kB / 340.4 MB, free: 5.43 MB / 270.1 MB Notification: Performance of Templates: time 0.006078/0.3478, allocations: 2.359 MB / 342.8 MB, free: 3.074 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)