Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0009894/0.0009894, 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.006378/0.006379, 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.512/1.512, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004674/0.0004673, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 47.59 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003144/0.2955, allocations: 2.16 MB / 329.2 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2969, allocations: 0.6688 MB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.297, allocations: 3.312 kB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2972, allocations: 23.52 kB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.2974, allocations: 63.38 kB / 329.9 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.2977, allocations: 69.52 kB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.2982, allocations: 260.5 kB / 330.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.2985, allocations: 73.22 kB / 330.3 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.2987, allocations: 89.48 kB / 330.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2989, allocations: 102.2 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.299, allocations: 11 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2991, allocations: 30.2 kB / 330.6 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.2992, allocations: 38.89 kB / 330.6 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2993, allocations: 138.8 kB / 330.7 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.2997, allocations: 257.2 kB / 331 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2998, allocations: 1.344 kB / 331 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2998, allocations: 0 / 331 MB, free: 14.4 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2998, allocations: 0 / 331 MB, free: 14.4 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.0008167/0.3006, allocations: 499.8 kB / 331.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3007, allocations: 9.031 kB / 331.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.3007, allocations: 25.59 kB / 331.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.301, allocations: 237.2 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.3011, allocations: 15.94 kB / 331.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.3012, allocations: 21.88 kB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.3016, allocations: 198.8 kB / 332 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3016, allocations: 0 / 332 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3017, allocations: 6.156 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3017, allocations: 5.094 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.302, allocations: 157.5 kB / 332.1 MB, free: 13.46 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.001625/0.3037, allocations: 0.9414 MB / 333.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.304, allocations: 156.4 kB / 333.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.3043, allocations: 105.7 kB / 333.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3043, allocations: 2.156 kB / 333.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3044, allocations: 35.67 kB / 333.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3044, allocations: 1.094 kB / 333.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001386/0.3058, allocations: 430.9 kB / 333.8 MB, free: 12.13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.3059, allocations: 53.62 kB / 333.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3061, allocations: 167.9 kB / 334 MB, free: 11.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3061, allocations: 30.73 kB / 334 MB, free: 11.9 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3062, allocations: 146.6 kB / 334.2 MB, free: 11.76 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.3063, allocations: 62.44 kB / 334.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.3063, allocations: 18.28 kB / 334.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3065, allocations: 338.2 kB / 334.6 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3066, allocations: 48.36 kB / 334.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3067, allocations: 70.69 kB / 334.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.307, allocations: 137.4 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.307, allocations: 4 kB / 334.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003973/0.3074, allocations: 222.4 kB / 335.1 MB, free: 11.01 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3075, allocations: 4 kB / 335.1 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3075, allocations: 3.938 kB / 335.1 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.3088, allocations: 224.6 kB / 335.3 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.309, allocations: 31.98 kB / 335.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/0.3094, allocations: 0.6108 MB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3096, allocations: 23.89 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3096, 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.000128/0.3097, allocations: 137.8 kB / 336.1 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.3098, allocations: 15.81 kB / 336.1 MB, free: 9.922 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.3103, allocations: 236.2 kB / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3103, allocations: 0 / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3103, allocations: 4 kB / 336.3 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3104, allocations: 0 / 336.3 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.3112, allocations: 0.5935 MB / 336.9 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3113, allocations: 11.88 kB / 337 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3114, allocations: 23.98 kB / 337 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.3125, allocations: 228.5 kB / 337.2 MB, free: 8.758 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3125, allocations: 0 / 337.2 MB, free: 8.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004538/0.313, allocations: 0.6227 MB / 337.8 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.313, allocations: 8.016 kB / 337.8 MB, free: 8.102 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.3138, allocations: 436.6 kB / 338.3 MB, free: 7.652 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.3139, allocations: 96.88 kB / 338.4 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3139, allocations: 4 kB / 338.4 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3141, allocations: 8 kB / 338.4 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.3141, allocations: 16.05 kB / 338.4 MB, free: 7.512 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3141, allocations: 11.98 kB / 338.4 MB, free: 7.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.3142, allocations: 123.2 kB / 338.5 MB, free: 7.379 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3142, allocations: 0 / 338.5 MB, free: 7.379 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000313/0.3146, allocations: 59.84 kB / 338.6 MB, free: 7.32 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.0001674/0.3147, allocations: 107.2 kB / 338.7 MB, free: 7.207 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.3151, allocations: 152.4 kB / 338.8 MB, free: 7.059 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3151, allocations: 0 / 338.8 MB, free: 7.059 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3153, allocations: 87.84 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.0003723/0.3157, allocations: 27.92 kB / 338.9 MB, free: 6.945 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3169, allocations: 0.6912 MB / 339.6 MB, free: 6.227 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3172, allocations: 0.7401 MB / 340.4 MB, free: 5.461 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.447e-05/0.3173, allocations: 13.55 kB / 340.4 MB, free: 5.445 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.3173, allocations: 15.44 kB / 340.4 MB, free: 5.43 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3173, allocations: 0 / 340.4 MB, free: 5.43 MB / 270.1 MB Notification: Performance of Templates: time 0.00595/0.3233, allocations: 2.359 MB / 342.8 MB, free: 3.074 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)