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.001007/0.001007, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001208/0.001208, allocations: 172.7 kB / 15.95 MB, free: 208 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.618/1.618, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0005539/0.0005539, allocations: 12 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2709, allocations: 47.59 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002097/0.2731, allocations: 1.788 MB / 328.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.2739, allocations: 483.2 kB / 328.7 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.274, allocations: 2.625 kB / 328.7 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.252e-05/0.2741, allocations: 13.05 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.2742, allocations: 37.09 kB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2743, allocations: 37.27 kB / 328.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2745, allocations: 149.4 kB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2747, allocations: 35.17 kB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2748, allocations: 57.48 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.2749, allocations: 53.83 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.2749, allocations: 9.656 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.275, allocations: 7.125 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.275, allocations: 19.45 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.2751, allocations: 52.08 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2752, allocations: 117.2 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2752, allocations: 4 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2752, allocations: 1.031 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2752, allocations: 0 / 329.3 MB, free: 15.19 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.0005238/0.2758, allocations: 421.5 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2758, allocations: 9.375 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.2759, allocations: 19.69 kB / 329.8 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2761, allocations: 203.5 kB / 330 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2761, allocations: 15.66 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2762, allocations: 15.75 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2764, allocations: 119 kB / 330.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2765, allocations: 3.984 kB / 330.1 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2765, allocations: 10.12 kB / 330.1 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2765, allocations: 2.25 kB / 330.1 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.2767, allocations: 82.36 kB / 330.2 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.2775, allocations: 0.6064 MB / 330.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.2778, allocations: 90.41 kB / 330.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.2779, allocations: 33.22 kB / 330.9 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2779, allocations: 3.984 kB / 330.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2779, allocations: 32 kB / 331 MB, free: 13.68 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.2779, allocations: 4 kB / 331 MB, free: 13.67 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006326/0.2786, allocations: 264.5 kB / 331.2 MB, free: 13.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2786, allocations: 52.59 kB / 331.3 MB, free: 13.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2787, allocations: 153.4 kB / 331.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2788, allocations: 25.7 kB / 331.5 MB, free: 13.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.2788, allocations: 127 kB / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.2789, allocations: 19.2 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2789, allocations: 0 / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.279, allocations: 320.8 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.279, allocations: 30.19 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.2791, allocations: 42.88 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.2792, allocations: 27.33 kB / 332 MB, free: 12.72 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2792, allocations: 0 / 332 MB, free: 12.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002677/0.2795, allocations: 142.2 kB / 332.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2795, allocations: 9.609 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2795, allocations: 1.125 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.2797, allocations: 34.72 kB / 332.2 MB, free: 12.61 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.2798, allocations: 15.98 kB / 332.2 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2812, allocations: 1.522 MB / 333.7 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.2813, allocations: 13.48 kB / 333.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2813, allocations: 2.438 kB / 333.7 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 (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.084e-05/0.2814, allocations: 119.1 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2814, allocations: 9.531 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.2815, allocations: 21.92 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2815, allocations: 0.9062 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2815, allocations: 0.9688 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2815, allocations: 0 / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.2817, allocations: 216.1 kB / 334.1 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2817, allocations: 0 / 334.1 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.2818, allocations: 11.69 kB / 334.1 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.2819, allocations: 37.45 kB / 334.1 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2819, allocations: 9.156 kB / 334.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.283, allocations: 1.512 MB / 335.7 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.283, allocations: 1.938 kB / 335.7 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.2833, allocations: 214.8 kB / 335.9 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2834, allocations: 87.83 kB / 336 MB, free: 8.859 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2834, allocations: 4.938 kB / 336 MB, free: 8.855 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.2835, allocations: 13.61 kB / 336 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.2836, allocations: 3.344 kB / 336 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.2836, allocations: 5.203 kB / 336 MB, free: 8.844 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.064e-05/0.2836, allocations: 108.7 kB / 336.1 MB, free: 8.754 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2836, allocations: 0 / 336.1 MB, free: 8.754 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.284, allocations: 36.09 kB / 336.1 MB, free: 8.75 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.0001055/0.2841, allocations: 103.3 kB / 336.2 MB, free: 8.656 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.2845, allocations: 187.8 kB / 336.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2845, allocations: 1.25 kB / 336.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.2847, allocations: 151.9 kB / 336.6 MB, free: 8.375 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2849, allocations: 17.23 kB / 336.6 MB, free: 8.363 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.2854, allocations: 358.4 kB / 336.9 MB, free: 8.082 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.2857, allocations: 0.7109 MB / 337.6 MB, free: 7.367 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.2857, allocations: 6.812 kB / 337.7 MB, free: 7.363 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.2858, allocations: 11.03 kB / 337.7 MB, free: 7.355 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.2858, allocations: 0 / 337.7 MB, free: 7.355 MB / 270.1 MB Notification: Performance of Templates: time 0.003686/0.2895, allocations: 1.331 MB / 339 MB, free: 6.25 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (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)