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.001638/0.001638, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001575, allocations: 191.6 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001174/0.001174, allocations: 56.34 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2143, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002976/0.2173, allocations: 2.13 MB / 327.4 MB, free: 200 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.2181, allocations: 0.4985 MB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.2182, allocations: 6.094 kB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2184, allocations: 21.92 kB / 328 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2185, allocations: 52.95 kB / 328 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2187, allocations: 33.83 kB / 328 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2189, allocations: 154.9 kB / 328.2 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.2191, allocations: 53.98 kB / 328.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2192, allocations: 69.59 kB / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2193, allocations: 59.14 kB / 328.4 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.2194, allocations: 13.25 kB / 328.4 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.2194, allocations: 22.47 kB / 328.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.2195, allocations: 27.2 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.2196, allocations: 71.58 kB / 328.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2198, allocations: 172 kB / 328.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2198, allocations: 0 / 328.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2198, allocations: 0 / 328.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2198, allocations: 0 / 328.7 MB, free: 15.29 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.0005818/0.2204, allocations: 436.7 kB / 329.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2204, allocations: 9.281 kB / 329.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.2205, allocations: 18.22 kB / 329.1 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2207, allocations: 203.2 kB / 329.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2207, allocations: 10.27 kB / 329.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.2208, allocations: 11.66 kB / 329.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.221, allocations: 125 kB / 329.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.221, allocations: 1.156 kB / 329.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.221, allocations: 5.094 kB / 329.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2211, allocations: 2.5 kB / 329.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2212, allocations: 87.09 kB / 329.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.222, allocations: 0.6026 MB / 330.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.2223, allocations: 80.38 kB / 330.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.2224, allocations: 36.16 kB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2224, allocations: 0 / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2225, allocations: 39.84 kB / 330.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.2225, allocations: 4 kB / 330.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006535/0.2231, allocations: 253.7 kB / 330.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2232, allocations: 59.34 kB / 330.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2233, allocations: 146.2 kB / 330.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2233, allocations: 25.7 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.2234, allocations: 127.5 kB / 330.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2234, allocations: 18.03 kB / 330.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.2235, allocations: 21.03 kB / 331 MB, free: 13.18 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2236, allocations: 320.5 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.649e-05/0.2236, allocations: 27.45 kB / 331.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.2237, allocations: 45 kB / 331.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.2239, allocations: 70 kB / 331.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2239, allocations: 1.094 kB / 331.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002787/0.2241, allocations: 143.3 kB / 331.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2242, allocations: 9.125 kB / 331.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2242, allocations: 1.031 kB / 331.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.2244, allocations: 34.84 kB / 331.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.2244, allocations: 15.02 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.2259, allocations: 1.695 MB / 333.3 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.226, allocations: 11.19 kB / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.226, allocations: 2.219 kB / 333.3 MB, free: 10.93 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.782e-05/0.2261, allocations: 124.5 kB / 333.4 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.2262, allocations: 16.16 kB / 333.5 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.2262, allocations: 10.94 kB / 333.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2262, allocations: 1 kB / 333.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2262, allocations: 0 / 333.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2262, allocations: 1.344 kB / 333.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.2265, allocations: 210.7 kB / 333.7 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2265, allocations: 128 / 333.7 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.2266, allocations: 19.02 kB / 333.7 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.2267, allocations: 37.53 kB / 333.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2267, allocations: 5.094 kB / 333.7 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.2282, allocations: 1.674 MB / 335.4 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2282, allocations: 0 / 335.4 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.2285, allocations: 220.5 kB / 335.6 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2286, allocations: 84.23 kB / 335.7 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2286, allocations: 1.031 kB / 335.7 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.2287, allocations: 3.5 kB / 335.7 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.2287, allocations: 11.11 kB / 335.7 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2288, allocations: 6.156 kB / 335.7 MB, free: 8.547 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.2288, allocations: 113.6 kB / 335.8 MB, free: 8.453 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2289, allocations: 4 kB / 335.8 MB, free: 8.449 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.2292, allocations: 39.25 kB / 335.9 MB, free: 8.441 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.0001382/0.2293, allocations: 99.75 kB / 336 MB, free: 8.352 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.2298, allocations: 201.1 kB / 336.2 MB, free: 8.188 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2298, allocations: 0 / 336.2 MB, free: 8.188 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.23, allocations: 152 kB / 336.3 MB, free: 8.055 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2303, allocations: 19.42 kB / 336.3 MB, free: 8.043 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.2308, allocations: 293.7 kB / 336.6 MB, free: 7.828 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.2311, allocations: 0.7111 MB / 337.3 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.2311, allocations: 2.875 kB / 337.3 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.2312, allocations: 9.812 kB / 337.4 MB, free: 7.105 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2312, allocations: 0 / 337.4 MB, free: 7.105 MB / 270.1 MB Notification: Performance of Templates: time 0.003961/0.2351, allocations: 1.485 MB / 338.8 MB, free: 5.621 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)