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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001172/0.001172, allocations: 195.9 kB / 16.14 MB, free: 6.672 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.445/1.445, allocations: 205.1 MB / 222 MB, free: 4.961 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.001163/0.001163, allocations: 55.94 kB / 278 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3023, allocations: 46.62 MB / 324.7 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003205/0.3055, allocations: 2.188 MB / 326.9 MB, free: 128 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.3064, allocations: 0.4952 MB / 327.4 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.3065, allocations: 6.125 kB / 327.4 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3066, allocations: 18 kB / 327.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.3067, allocations: 36.45 kB / 327.4 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3069, allocations: 41.36 kB / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3071, allocations: 148.8 kB / 327.6 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3072, allocations: 41.59 kB / 327.6 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3074, allocations: 56.56 kB / 327.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3075, allocations: 63.06 kB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3075, allocations: 13.66 kB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.3076, allocations: 18.41 kB / 327.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.3077, allocations: 19.95 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.3077, allocations: 69.3 kB / 327.9 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3079, allocations: 160.3 kB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.308, allocations: 0 / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.308, allocations: 0 / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.308, allocations: 0 / 328 MB, free: 15.27 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.0006401/0.3086, allocations: 432.1 kB / 328.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3087, allocations: 13.31 kB / 328.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3088, allocations: 17.69 kB / 328.5 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.309, allocations: 212.6 kB / 328.7 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.309, allocations: 9.203 kB / 328.7 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.309, allocations: 7 kB / 328.7 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3093, allocations: 126.2 kB / 328.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3093, allocations: 1.125 kB / 328.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3094, allocations: 5.094 kB / 328.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3094, allocations: 2.562 kB / 328.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.3096, allocations: 82.84 kB / 328.9 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.3104, allocations: 0.6026 MB / 329.5 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3107, allocations: 89.56 kB / 329.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.3109, allocations: 34.41 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3109, allocations: 1.406 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3109, allocations: 31.97 kB / 329.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3109, allocations: 0 / 329.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007169/0.3116, allocations: 253.1 kB / 329.9 MB, free: 13.55 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3117, allocations: 59.33 kB / 330 MB, free: 13.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3118, allocations: 153.2 kB / 330.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3119, allocations: 27.02 kB / 330.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.3119, allocations: 127.1 kB / 330.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.312, allocations: 18.42 kB / 330.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.312, allocations: 23.41 kB / 330.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3122, allocations: 321.2 kB / 330.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.3122, allocations: 20.45 kB / 330.7 MB, free: 12.83 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.3123, allocations: 56.09 kB / 330.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3125, allocations: 74.2 kB / 330.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3125, allocations: 0.8438 kB / 330.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002846/0.3128, allocations: 142.6 kB / 330.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3128, allocations: 9 kB / 330.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3128, allocations: 1.312 kB / 330.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.313, allocations: 34.78 kB / 331 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.3131, allocations: 10.55 kB / 331 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.3147, allocations: 1.52 MB / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.3148, allocations: 11.19 kB / 332.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3149, allocations: 7.375 kB / 332.5 MB, free: 11.07 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 9.875e-05/0.315, allocations: 124 kB / 332.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.315, allocations: 12.05 kB / 332.6 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.315, allocations: 11.41 kB / 332.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.315, allocations: 5.875 kB / 332.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.315, allocations: 0 / 332.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.315, allocations: 0 / 332.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3153, allocations: 207.3 kB / 332.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3153, allocations: 0 / 332.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.3154, allocations: 15.27 kB / 332.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.3155, allocations: 29.78 kB / 332.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3155, allocations: 4 kB / 332.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.3167, allocations: 1.507 MB / 334.4 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3167, allocations: 0 / 334.4 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.317, allocations: 216.7 kB / 334.6 MB, free: 8.98 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.3171, allocations: 83.14 kB / 334.7 MB, free: 8.883 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3171, allocations: 12.8 kB / 334.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.3172, allocations: 5.156 kB / 334.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3173, allocations: 6.047 kB / 334.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3173, allocations: 2.578 kB / 334.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.3174, allocations: 108.5 kB / 334.8 MB, free: 8.777 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3174, allocations: 0 / 334.8 MB, free: 8.777 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000349/0.3177, allocations: 44.91 kB / 334.9 MB, free: 8.766 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.0001163/0.3178, allocations: 111 kB / 335 MB, free: 8.664 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3182, allocations: 188.6 kB / 335.2 MB, free: 8.512 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3183, allocations: 0 / 335.2 MB, free: 8.512 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.3185, allocations: 151.1 kB / 335.3 MB, free: 8.379 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3187, allocations: 17.64 kB / 335.3 MB, free: 8.367 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.3193, allocations: 331.9 kB / 335.7 MB, free: 8.113 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3197, allocations: 0.7149 MB / 336.4 MB, free: 7.395 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.3197, allocations: 7.969 kB / 336.4 MB, free: 7.391 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.3197, allocations: 13.64 kB / 336.4 MB, free: 7.379 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3198, allocations: 0 / 336.4 MB, free: 7.379 MB / 270.1 MB Notification: Performance of Templates: time 0.004345/0.3241, allocations: 1.376 MB / 337.8 MB, free: 6.324 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)