Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008853/0.0008855, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001035/0.001035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004822/0.0004824, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002087/0.2864, allocations: 1.796 MB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.2873, allocations: 471.1 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.2874, allocations: 2.719 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.539e-05/0.2875, allocations: 13.34 kB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.2876, allocations: 32.92 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2878, allocations: 37.39 kB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.288, allocations: 146.1 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2881, allocations: 42.2 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.2882, allocations: 57.09 kB / 329.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2883, allocations: 54.48 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2884, allocations: 6.906 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-05/0.2884, allocations: 9.031 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.2885, allocations: 22.77 kB / 329.2 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.2885, allocations: 50.92 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2887, allocations: 115.6 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.2887, allocations: 1.25 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2887, allocations: 3.938 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2887, allocations: 0 / 329.3 MB, free: 15.21 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.0005637/0.2893, allocations: 424.9 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2893, allocations: 9.094 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2894, allocations: 16.62 kB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2897, allocations: 210.2 kB / 330 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2897, allocations: 13.72 kB / 330 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2897, allocations: 10.78 kB / 330 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.29, allocations: 123.1 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.29, allocations: 1.156 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.29, allocations: 5.031 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.29, allocations: 2.25 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.2902, allocations: 78.55 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.291, allocations: 0.6136 MB / 330.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2914, allocations: 90.22 kB / 330.9 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.2914, allocations: 38.5 kB / 330.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.2915, allocations: 0 / 330.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2915, allocations: 31.91 kB / 331 MB, free: 13.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2915, allocations: 0 / 331 MB, free: 13.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006603/0.2922, allocations: 264.5 kB / 331.2 MB, free: 13.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.2922, allocations: 56.86 kB / 331.3 MB, free: 13.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2924, allocations: 152.5 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2924, allocations: 29.64 kB / 331.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.2925, allocations: 127.4 kB / 331.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2925, allocations: 22.95 kB / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2925, allocations: 0 / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2926, allocations: 321.1 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.2927, allocations: 17.78 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.2928, allocations: 50.27 kB / 332 MB, free: 12.76 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.2929, allocations: 27.84 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2929, allocations: 0.9688 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003024/0.2932, allocations: 145.5 kB / 332.2 MB, free: 12.65 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2932, allocations: 6.375 kB / 332.2 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2932, allocations: 0 / 332.2 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.2934, allocations: 35.16 kB / 332.2 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.2935, allocations: 14.86 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.295, allocations: 1.517 MB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.2951, allocations: 20.33 kB / 333.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2951, allocations: 1.984 kB / 333.7 MB, free: 11.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.2952, allocations: 120 kB / 333.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.2952, allocations: 12.44 kB / 333.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2952, allocations: 14.98 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.2953, allocations: 4.906 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2953, allocations: 0.9375 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2953, allocations: 4.031 kB / 333.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.2955, allocations: 215.2 kB / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2955, allocations: 0 / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.2956, allocations: 4.188 kB / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.2957, allocations: 37.95 kB / 334.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2957, allocations: 1 kB / 334.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.2969, allocations: 1.508 MB / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2969, allocations: 0 / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.2972, allocations: 224.8 kB / 335.9 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.2973, allocations: 86.98 kB / 336 MB, free: 8.887 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.2973, allocations: 9.016 kB / 336 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.2974, allocations: 10.16 kB / 336 MB, free: 8.875 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.2974, allocations: 7.297 kB / 336 MB, free: 8.871 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.2975, allocations: 5.469 kB / 336 MB, free: 8.867 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.739e-05/0.2976, allocations: 108 kB / 336.1 MB, free: 8.777 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2976, allocations: 0 / 336.1 MB, free: 8.777 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000379/0.298, allocations: 36.19 kB / 336.1 MB, free: 8.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.2981, allocations: 99.56 kB / 336.2 MB, free: 8.684 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004354/0.2986, allocations: 191.9 kB / 336.4 MB, free: 8.531 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2986, allocations: 0 / 336.4 MB, free: 8.531 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.2988, allocations: 157.9 kB / 336.6 MB, free: 8.395 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2991, allocations: 19.09 kB / 336.6 MB, free: 8.383 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.2998, allocations: 353.7 kB / 336.9 MB, free: 8.105 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3001, allocations: 0.7106 MB / 337.7 MB, free: 7.391 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.3002, allocations: 3.625 kB / 337.7 MB, free: 7.391 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3002, allocations: 10.84 kB / 337.7 MB, free: 7.383 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3002, allocations: 4 kB / 337.7 MB, free: 7.379 MB / 270.1 MB Notification: Performance of Templates: time 0.004309/0.3045, allocations: 1.316 MB / 339 MB, free: 6.234 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)