Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001205/0.001205, allocations: 191 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04006/0.04006, allocations: 8.043 MB / 299.1 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 60.14 kB / 361.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.189, allocations: 51.19 MB / 412.5 MB, free: 26.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004224/0.1933, allocations: 4.278 MB / 416.8 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.195, allocations: 1.453 MB / 418.2 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.1953, allocations: 15.94 kB / 418.2 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1957, allocations: 162.8 kB / 418.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.1961, allocations: 206.4 kB / 418.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.1966, allocations: 398.8 kB / 419 MB, free: 19.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.1971, allocations: 0.8884 MB / 419.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.1976, allocations: 485.7 kB / 420.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.1978, allocations: 350.8 kB / 420.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1981, allocations: 374.4 kB / 421.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.784e-05/0.1982, allocations: 100 kB / 421.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1983, allocations: 131.9 kB / 421.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1985, allocations: 207.4 kB / 421.5 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.1987, allocations: 437.9 kB / 421.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.1993, allocations: 1.067 MB / 423 MB, free: 15.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1993, allocations: 3.938 kB / 423 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1993, allocations: 3.984 kB / 423 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1994, allocations: 0 / 423 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001454/0.2008, allocations: 1.14 MB / 424.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.2009, allocations: 12.03 kB / 424.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.201, allocations: 80 kB / 424.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.2014, allocations: 0.5089 MB / 424.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2015, allocations: 54 kB / 424.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.2016, allocations: 79.89 kB / 424.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.2026, allocations: 0.7035 MB / 425.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2026, allocations: 0 / 425.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.2027, allocations: 32 kB / 425.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2027, allocations: 19.98 kB / 425.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.2037, allocations: 0.5016 MB / 426.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.2064, allocations: 2.556 MB / 428.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.2072, allocations: 448.1 kB / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.2076, allocations: 176.8 kB / 429.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2076, allocations: 4 kB / 429.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005193/0.2081, allocations: 267.3 kB / 429.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.2082, allocations: 0 / 429.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001384/0.2095, allocations: 0.7043 MB / 430.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2096, allocations: 140.5 kB / 430.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.2101, allocations: 0.5761 MB / 431 MB, free: 7.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.2101, allocations: 33.7 kB / 431 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.2102, allocations: 355.9 kB / 431.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.2103, allocations: 118.4 kB / 431.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2104, allocations: 70.08 kB / 431.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.2105, allocations: 370.7 kB / 431.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.2109, allocations: 162.3 kB / 432 MB, free: 6.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.2112, allocations: 263.3 kB / 432.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007423/0.212, allocations: 0.5427 MB / 432.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.212, allocations: 4 kB / 432.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009628/0.213, allocations: 0.5998 MB / 433.5 MB, free: 4.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.213, allocations: 97.09 kB / 433.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.213, allocations: 0 / 433.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.2132, allocations: 28.84 kB / 433.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.2135, allocations: 80.23 kB / 433.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006548/0.2141, allocations: 1.391 MB / 435 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.2145, allocations: 83.39 kB / 435.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2146, allocations: 15.98 kB / 435.1 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000455/0.215, allocations: 328.9 kB / 435.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003486/0.2154, allocations: 251.2 kB / 435.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006528/0.2161, allocations: 0.5224 MB / 436.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.2161, allocations: 4 kB / 436.2 MB, free: 1.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008729/0.2169, allocations: 0.5768 MB / 436.8 MB, free: 0.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.217, allocations: 95.61 kB / 436.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.217, allocations: 0 / 436.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.914e-05/0.2171, allocations: 28.84 kB / 436.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.2173, allocations: 75.83 kB / 437 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007416/0.2181, allocations: 1.394 MB / 438.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.2185, allocations: 67.8 kB / 438.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2185, allocations: 20 kB / 438.5 MB, free: 15.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.2187, allocations: 264.5 kB / 438.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2188, allocations: 55.44 kB / 438.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2199, allocations: 0.5103 MB / 439.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2199, allocations: 4 kB / 439.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2199, allocations: 0 / 439.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2199, allocations: 3.984 kB / 439.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.2216, allocations: 1.183 MB / 440.5 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2216, allocations: 0 / 440.5 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.2219, allocations: 71.83 kB / 440.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.222, allocations: 24.84 kB / 440.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2221, allocations: 8 kB / 440.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008433/0.2229, allocations: 1.387 MB / 442 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2229, allocations: 0 / 442 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2244, allocations: 0.7879 MB / 442.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.2245, allocations: 136.4 kB / 442.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.2246, allocations: 12 kB / 442.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.225, allocations: 47.94 kB / 443 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.2251, allocations: 27.97 kB / 443 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.2251, allocations: 8 kB / 443 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004566/0.2256, allocations: 414.8 kB / 443.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2256, allocations: 7.938 kB / 443.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007798/0.2264, allocations: 290.8 kB / 443.7 MB, free: 9.598 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007917/0.2272, allocations: 365 kB / 444.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.2292, allocations: 1.198 MB / 445.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2292, allocations: 0 / 445.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.2299, allocations: 441.3 kB / 445.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.2304, allocations: 98.98 kB / 445.8 MB, free: 7.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.2325, allocations: 1.27 MB / 447.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.233, allocations: 0.8978 MB / 448 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2331, allocations: 47.36 kB / 448 MB, free: 5.227 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2331, allocations: 0 / 448 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Templates: time 0.01338/0.2465, allocations: 10.63 MB / 458.6 MB, free: 10.6 MB / 334.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)