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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009329/0.0009332, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.113/1.113, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001586/0.001586, allocations: 120.6 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003103, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07808/0.07842, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.2849, allocations: 72.99 MB / 428 MB, free: 16.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.2851, allocations: 70.72 kB / 428.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006055/0.2912, allocations: 2.704 MB / 430.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2912, allocations: 0 / 430.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2912, allocations: 6.156 kB / 430.8 MB, free: 14.27 MB / 314.7 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.0003703/0.2916, allocations: 417.1 kB / 431.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2916, allocations: 12.03 kB / 431.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.2917, allocations: 24.83 kB / 431.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2919, allocations: 208.7 kB / 431.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2919, allocations: 8.109 kB / 431.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2919, allocations: 11.38 kB / 431.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2921, allocations: 117.9 kB / 431.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2921, allocations: 3.938 kB / 431.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2921, allocations: 7.188 kB / 431.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2922, allocations: 0 / 431.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.2923, allocations: 92.28 kB / 431.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.2929, allocations: 0.5249 MB / 432.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.2932, allocations: 93.53 kB / 432.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2932, allocations: 0 / 432.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2932, allocations: 34.56 kB / 432.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.2932, allocations: 0 / 432.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006018/0.2938, allocations: 263.2 kB / 432.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2939, allocations: 55.41 kB / 432.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.294, allocations: 132.2 kB / 432.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.294, allocations: 29.64 kB / 432.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.294, allocations: 119.6 kB / 432.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2941, allocations: 26.2 kB / 433 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.2941, allocations: 4 kB / 433 MB, free: 12.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.2941, allocations: 314.7 kB / 433.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.2942, allocations: 31.67 kB / 433.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.2943, allocations: 45.62 kB / 433.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.2943, allocations: 27.36 kB / 433.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2943, allocations: 2.438 kB / 433.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002351/0.2946, allocations: 145.7 kB / 433.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2946, allocations: 5.25 kB / 433.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2946, allocations: 0 / 433.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.2948, allocations: 40.77 kB / 433.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.2949, allocations: 19.17 kB / 433.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.2959, allocations: 1.521 MB / 435.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.296, allocations: 11.94 kB / 435.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.296, allocations: 3.75 kB / 435.1 MB, free: 9.996 MB / 314.7 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 6.475e-05/0.2961, allocations: 117.7 kB / 435.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.2961, allocations: 7.906 kB / 435.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.2961, allocations: 15.77 kB / 435.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2961, allocations: 4 kB / 435.3 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2961, allocations: 7.953 kB / 435.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2961, allocations: 0 / 435.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2963, allocations: 207.1 kB / 435.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2963, allocations: 0 / 435.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.2964, allocations: 9.234 kB / 435.5 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2965, allocations: 35.78 kB / 435.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.2965, allocations: 0.8438 kB / 435.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007797/0.2973, allocations: 1.528 MB / 437.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2973, allocations: 0 / 437.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.2975, allocations: 221.4 kB / 437.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.2976, allocations: 86.92 kB / 437.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.2976, allocations: 6.078 kB / 437.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.2977, allocations: 7.75 kB / 437.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.2977, allocations: 11.98 kB / 437.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2978, allocations: 0 / 437.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.2978, allocations: 111.8 kB / 437.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2978, allocations: 4 kB / 437.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.2981, allocations: 39.5 kB / 437.5 MB, free: 7.562 MB / 314.7 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 8.111e-05/0.2982, allocations: 95.25 kB / 437.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.2985, allocations: 194.4 kB / 437.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2985, allocations: 0 / 437.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2987, allocations: 161.9 kB / 438 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.2988, allocations: 16.52 kB / 438 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.2992, allocations: 336.7 kB / 438.3 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2993, allocations: 0.7121 MB / 439 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.986e-05/0.2994, allocations: 4.438 kB / 439 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.2994, allocations: 11.44 kB / 439 MB, free: 6.02 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.2994, allocations: 0 / 439 MB, free: 6.02 MB / 314.7 MB Notification: Performance of Templates: time 0.003058/0.3025, allocations: 1.31 MB / 440.4 MB, free: 4.77 MB / 314.7 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)