Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.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.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, 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.009353/0.009353, allocations: 172.5 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.591/1.591, 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.0005292/0.0005293, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2944, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002544/0.297, allocations: 1.848 MB / 328.9 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.298, allocations: 490.6 kB / 329.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.2981, allocations: 5.312 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2983, allocations: 22.28 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.2984, allocations: 32.23 kB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2986, allocations: 41.44 kB / 329.4 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.2988, allocations: 149 kB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.299, allocations: 45.61 kB / 329.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2991, allocations: 52.5 kB / 329.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.2992, allocations: 58.95 kB / 329.7 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2993, allocations: 6.75 kB / 329.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.2994, allocations: 16.36 kB / 329.8 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.2994, allocations: 23.58 kB / 329.8 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.789e-05/0.2995, allocations: 88.06 kB / 329.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2997, allocations: 153.6 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2997, allocations: 1.531 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2997, allocations: 0 / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2997, allocations: 0 / 330 MB, free: 15.1 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005433/0.3003, allocations: 419.6 kB / 330.4 MB, free: 14.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3003, allocations: 9.812 kB / 330.4 MB, free: 14.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.3004, allocations: 21.14 kB / 330.5 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3007, allocations: 200.2 kB / 330.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3007, allocations: 12.62 kB / 330.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3007, allocations: 12.91 kB / 330.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.301, allocations: 127.7 kB / 330.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.301, allocations: 0 / 330.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.301, allocations: 5.062 kB / 330.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.301, allocations: 3.281 kB / 330.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.3012, allocations: 86.41 kB / 330.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/0.3021, allocations: 0.6146 MB / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3025, allocations: 87.34 kB / 331.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.3026, allocations: 36.86 kB / 331.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3026, allocations: 1.25 kB / 331.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3026, allocations: 35.64 kB / 331.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3026, allocations: 0 / 331.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007407/0.3034, allocations: 261.7 kB / 331.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.3034, allocations: 57.28 kB / 332 MB, free: 13.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3036, allocations: 153.2 kB / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3036, allocations: 25.7 kB / 332.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.3037, allocations: 130.5 kB / 332.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.3037, allocations: 18.66 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.3038, allocations: 15.89 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3039, allocations: 317 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.304, allocations: 25.8 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.422e-05/0.3041, allocations: 51.75 kB / 332.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3042, allocations: 73.5 kB / 332.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3042, allocations: 0 / 332.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003018/0.3045, allocations: 150.6 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3046, allocations: 4.812 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3046, allocations: 1.25 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.3047, allocations: 33.98 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.3048, allocations: 9.25 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.3064, allocations: 1.526 MB / 334.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.3065, allocations: 16.67 kB / 334.5 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3065, allocations: 5.375 kB / 334.5 MB, free: 10.92 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.3066, allocations: 115.8 kB / 334.6 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.3067, allocations: 13.25 kB / 334.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.3067, allocations: 14.72 kB / 334.7 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3067, allocations: 9.25 kB / 334.7 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.3067, allocations: 0 / 334.7 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3067, allocations: 0 / 334.7 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3069, allocations: 211.5 kB / 334.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.307, allocations: 0 / 334.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.307, allocations: 12.45 kB / 334.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.3071, allocations: 33.38 kB / 334.9 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3071, allocations: 5.047 kB / 334.9 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3083, allocations: 1.505 MB / 336.4 MB, free: 9.012 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3084, allocations: 1.031 kB / 336.4 MB, free: 9.012 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.3087, allocations: 225.3 kB / 336.7 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3087, allocations: 91.28 kB / 336.7 MB, free: 8.715 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3088, allocations: 3.938 kB / 336.8 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3089, allocations: 10.75 kB / 336.8 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3089, allocations: 10.23 kB / 336.8 MB, free: 8.699 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3089, allocations: 2.406 kB / 336.8 MB, free: 8.699 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.309, allocations: 108.6 kB / 336.9 MB, free: 8.609 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.309, allocations: 0 / 336.9 MB, free: 8.609 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.3094, allocations: 44.06 kB / 336.9 MB, free: 8.598 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.3095, allocations: 95.88 kB / 337 MB, free: 8.512 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.3099, allocations: 199.7 kB / 337.2 MB, free: 8.352 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3099, allocations: 1.5 kB / 337.2 MB, free: 8.352 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3101, allocations: 152.8 kB / 337.4 MB, free: 8.219 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3104, allocations: 19.44 kB / 337.4 MB, free: 8.207 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.311, allocations: 365.3 kB / 337.7 MB, free: 7.918 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3113, allocations: 0.7118 MB / 338.4 MB, free: 7.18 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.554e-05/0.3114, allocations: 8.375 kB / 338.5 MB, free: 7.172 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.3114, allocations: 15.42 kB / 338.5 MB, free: 7.156 MB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3114, allocations: 0 / 338.5 MB, free: 7.156 MB / 270.1 MB Notification: Performance of Templates: time 0.00401/0.3154, allocations: 1.352 MB / 339.8 MB, free: 5.805 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)