Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001129/0.001129, allocations: 88.77 kB / 16.31 MB, free: 6.457 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.001161/0.001161, allocations: 183.1 kB / 17.21 MB, free: 6.328 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.468/1.468, allocations: 205.4 MB / 223.4 MB, free: 5.797 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.0004825/0.0004826, allocations: 19.98 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.001822/0.2786, allocations: 1.792 MB / 329.5 MB, free: 8 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.2794, allocations: 475.9 kB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.2795, allocations: 1.344 kB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.363e-05/0.2796, allocations: 14.56 kB / 330 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.2797, allocations: 36.88 kB / 330 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.2799, allocations: 28.91 kB / 330.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.2802, allocations: 145.5 kB / 330.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.2803, allocations: 42.27 kB / 330.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2805, allocations: 57.59 kB / 330.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.2806, allocations: 54.3 kB / 330.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.2806, allocations: 6.406 kB / 330.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.2807, allocations: 13.88 kB / 330.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.2807, allocations: 22.48 kB / 330.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.2808, allocations: 50.98 kB / 330.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.281, allocations: 115.7 kB / 330.6 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.281, allocations: 5.375 kB / 330.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.281, allocations: 0 / 330.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.281, allocations: 0 / 330.6 MB, free: 15.23 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.0005351/0.2815, allocations: 425.5 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2816, allocations: 9.375 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.2817, allocations: 15.53 kB / 331 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.2819, allocations: 211 kB / 331.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2819, allocations: 12.38 kB / 331.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2819, allocations: 7.312 kB / 331.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.2822, allocations: 127.7 kB / 331.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2822, allocations: 0 / 331.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2822, allocations: 5.094 kB / 331.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2823, allocations: 7.172 kB / 331.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2825, allocations: 81.48 kB / 331.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.2833, allocations: 0.611 MB / 332.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.2835, allocations: 82.12 kB / 332.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.2836, allocations: 41.59 kB / 332.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2837, allocations: 0 / 332.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2837, allocations: 31.94 kB / 332.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2837, allocations: 0 / 332.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006436/0.2843, allocations: 265.5 kB / 332.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2844, allocations: 51.41 kB / 332.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2845, allocations: 157.4 kB / 332.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2845, allocations: 29.64 kB / 332.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.2846, allocations: 128.1 kB / 332.8 MB, free: 13.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.2846, allocations: 14.52 kB / 332.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.2846, allocations: 4 kB / 332.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.2847, allocations: 321.2 kB / 333.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.2848, allocations: 17.12 kB / 333.2 MB, free: 12.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.2849, allocations: 50.64 kB / 333.2 MB, free: 12.78 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.2849, allocations: 27.88 kB / 333.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.285, allocations: 1.062 kB / 333.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002708/0.2852, allocations: 149.7 kB / 333.4 MB, free: 12.67 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2853, allocations: 5.531 kB / 333.4 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2853, allocations: 5.094 kB / 333.4 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.2854, allocations: 38.38 kB / 333.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.2855, allocations: 12.33 kB / 333.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.2869, allocations: 1.515 MB / 335 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-05/0.287, allocations: 24.33 kB / 335 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.287, allocations: 3.25 kB / 335 MB, free: 11.11 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.797e-05/0.2871, allocations: 119.3 kB / 335.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.2871, allocations: 12.28 kB / 335.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.2872, allocations: 15.89 kB / 335.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2872, allocations: 3.938 kB / 335.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.2872, allocations: 1.031 kB / 335.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2872, allocations: 0 / 335.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2874, allocations: 214.9 kB / 335.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2874, allocations: 1.156 kB / 335.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.2875, allocations: 3.312 kB / 335.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.2876, allocations: 38.17 kB / 335.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2876, allocations: 0 / 335.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.2887, allocations: 1.509 MB / 336.9 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2887, allocations: 128 / 336.9 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.289, allocations: 224.5 kB / 337.1 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2891, allocations: 91.95 kB / 337.2 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2891, allocations: 0 / 337.2 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.2892, allocations: 14.36 kB / 337.2 MB, free: 8.895 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.2892, allocations: 6.359 kB / 337.2 MB, free: 8.891 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2892, allocations: 6.906 kB / 337.3 MB, free: 8.887 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.128e-05/0.2893, allocations: 104.1 kB / 337.4 MB, free: 8.801 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2893, allocations: 0 / 337.4 MB, free: 8.801 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.2897, allocations: 40.41 kB / 337.4 MB, free: 8.793 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.0001016/0.2898, allocations: 95.41 kB / 337.5 MB, free: 8.707 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003361/0.2901, allocations: 195 kB / 337.7 MB, free: 8.551 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2901, allocations: 4.938 kB / 337.7 MB, free: 8.547 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2903, allocations: 148.6 kB / 337.8 MB, free: 8.418 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2906, allocations: 24.84 kB / 337.9 MB, free: 8.398 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.2911, allocations: 353.4 kB / 338.2 MB, free: 8.121 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2913, allocations: 0.7113 MB / 338.9 MB, free: 7.406 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.2914, allocations: 4 kB / 338.9 MB, free: 7.406 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.2914, allocations: 9.438 kB / 338.9 MB, free: 7.398 MB / 270.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2914, allocations: 4 kB / 338.9 MB, free: 7.395 MB / 270.1 MB Notification: Performance of Templates: time 0.003487/0.2949, allocations: 1.322 MB / 340.2 MB, free: 6.281 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)