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.001351/0.00135, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001771/0.001771, allocations: 177.3 kB / 15.94 MB, free: 228 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.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004617/0.0004616, allocations: 16 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2934, allocations: 47.57 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002016/0.2955, allocations: 1.736 MB / 328.2 MB, free: 52 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.2963, allocations: 488 kB / 328.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.2964, allocations: 2.906 kB / 328.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.2964, allocations: 9.328 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2966, allocations: 49.3 kB / 328.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.2967, allocations: 28.83 kB / 328.7 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.2969, allocations: 114.1 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2971, allocations: 34.09 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.2972, allocations: 61.05 kB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2973, allocations: 53.64 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2973, allocations: 6.812 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.2974, allocations: 10 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.2974, allocations: 23.16 kB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.2975, allocations: 51.02 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2976, allocations: 118.9 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2976, allocations: 7.938 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2977, allocations: 0 / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2977, allocations: 1.062 kB / 329.2 MB, free: 15.28 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.0005625/0.2982, allocations: 420.2 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2983, allocations: 9.156 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.2984, allocations: 16.47 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.2986, allocations: 198.9 kB / 329.8 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2987, allocations: 16.94 kB / 329.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2987, allocations: 11.03 kB / 329.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.299, allocations: 127.2 kB / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.299, allocations: 0 / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.299, allocations: 4.938 kB / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.299, allocations: 2.406 kB / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2992, allocations: 81.8 kB / 330.1 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.3001, allocations: 0.6103 MB / 330.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3004, allocations: 91.28 kB / 330.8 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3004, allocations: 1.062 kB / 330.8 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3004, allocations: 35.88 kB / 330.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3004, allocations: 0 / 330.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006911/0.3011, allocations: 259.3 kB / 331.1 MB, free: 13.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3012, allocations: 56.42 kB / 331.1 MB, free: 13.53 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3013, allocations: 152.2 kB / 331.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3013, allocations: 30.98 kB / 331.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.3014, allocations: 122.8 kB / 331.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.3014, allocations: 18.33 kB / 331.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3014, allocations: 0.875 kB / 331.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3016, allocations: 316.7 kB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.3016, allocations: 30.3 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.3017, allocations: 50.12 kB / 331.8 MB, free: 12.85 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.3018, allocations: 27.58 kB / 331.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3018, allocations: 0 / 331.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002946/0.3021, allocations: 147.1 kB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3022, allocations: 4.219 kB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3022, allocations: 1.156 kB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.3024, allocations: 42.17 kB / 332 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.3024, allocations: 16.64 kB / 332.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.3041, allocations: 1.532 MB / 333.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.3042, allocations: 11.77 kB / 333.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3042, allocations: 7.219 kB / 333.6 MB, free: 11.18 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 0.0001121/0.3043, allocations: 120.1 kB / 333.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.3044, allocations: 16.09 kB / 333.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.3044, allocations: 11.12 kB / 333.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3044, allocations: 1.125 kB / 333.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.3044, allocations: 0 / 333.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3044, allocations: 4.906 kB / 333.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.3047, allocations: 215.1 kB / 334 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3047, allocations: 0 / 334 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.3047, allocations: 7.328 kB / 334 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.3048, allocations: 38.47 kB / 334 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3048, allocations: 0 / 334 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.3061, allocations: 1.51 MB / 335.5 MB, free: 9.266 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3061, allocations: 80 / 335.5 MB, free: 9.266 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.3065, allocations: 224.9 kB / 335.7 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.3065, allocations: 94.97 kB / 335.8 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3066, allocations: 1.094 kB / 335.8 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3067, allocations: 5.406 kB / 335.8 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3067, allocations: 11.39 kB / 335.9 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3067, allocations: 2.219 kB / 335.9 MB, free: 8.957 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.3068, allocations: 111.7 kB / 336 MB, free: 8.863 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3068, allocations: 1.062 kB / 336 MB, free: 8.863 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.3072, allocations: 39.06 kB / 336 MB, free: 8.855 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.0001258/0.3073, allocations: 100.1 kB / 336.1 MB, free: 8.766 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3078, allocations: 196 kB / 336.3 MB, free: 8.609 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3078, allocations: 0 / 336.3 MB, free: 8.609 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.308, allocations: 161.1 kB / 336.4 MB, free: 8.469 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.3082, allocations: 12.36 kB / 336.5 MB, free: 8.461 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.3087, allocations: 353.8 kB / 336.8 MB, free: 8.184 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3091, allocations: 0.7162 MB / 337.5 MB, free: 7.465 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.3091, allocations: 6.922 kB / 337.5 MB, free: 7.461 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3092, allocations: 9.844 kB / 337.5 MB, free: 7.453 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3092, allocations: 5.062 kB / 337.5 MB, free: 7.449 MB / 270.1 MB Notification: Performance of Templates: time 0.004295/0.3135, allocations: 1.301 MB / 338.8 MB, free: 6.367 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: