Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 119.3 kB / 16.37 MB, free: 6.016 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.001125/0.001125, allocations: 193 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03655/0.03655, allocations: 8.03 MB / 299.2 MB, free: 6.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 362.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.187, allocations: 51.19 MB / 413.3 MB, free: 25.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004072/0.1911, allocations: 4.12 MB / 417.4 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1929, allocations: 1.43 MB / 418.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1931, allocations: 15.94 kB / 418.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.1935, allocations: 146.8 kB / 419 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.194, allocations: 202.5 kB / 419.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.1945, allocations: 382.7 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.195, allocations: 0.8534 MB / 420.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.1955, allocations: 497.4 kB / 420.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1958, allocations: 326.9 kB / 421.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.196, allocations: 362.4 kB / 421.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.1961, allocations: 96 kB / 421.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1963, allocations: 128 kB / 421.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1964, allocations: 203.4 kB / 422 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1967, allocations: 406.1 kB / 422.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.1973, allocations: 1.04 MB / 423.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1973, allocations: 0 / 423.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1973, allocations: 0 / 423.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1973, allocations: 0 / 423.4 MB, free: 15.81 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001418/0.1987, allocations: 1.112 MB / 424.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1988, allocations: 12.03 kB / 424.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1989, allocations: 84 kB / 424.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.1994, allocations: 0.5015 MB / 425.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.1995, allocations: 53.25 kB / 425.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/0.1996, allocations: 75.89 kB / 425.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.2006, allocations: 0.6644 MB / 425.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.2006, allocations: 4 kB / 425.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.2007, allocations: 28 kB / 426 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.2007, allocations: 12 kB / 426 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/0.2016, allocations: 0.4892 MB / 426.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.2045, allocations: 2.547 MB / 429 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.2052, allocations: 432.7 kB / 429.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.2056, allocations: 180.9 kB / 429.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.2056, allocations: 4.234 kB / 429.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.2061, allocations: 253.7 kB / 429.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.2061, allocations: 0 / 429.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001295/0.2074, allocations: 0.6855 MB / 430.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.2075, allocations: 136.5 kB / 430.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.2079, allocations: 0.5527 MB / 431.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.208, allocations: 33.7 kB / 431.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2081, allocations: 348 kB / 431.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.2082, allocations: 106.5 kB / 431.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2083, allocations: 77.69 kB / 431.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.2084, allocations: 358.8 kB / 432.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.2087, allocations: 161.2 kB / 432.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2091, allocations: 266.5 kB / 432.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.2097, allocations: 0.5348 MB / 433.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2097, allocations: 4 kB / 433.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008855/0.2106, allocations: 0.592 MB / 433.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.2107, allocations: 89.11 kB / 433.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2107, allocations: 3.984 kB / 433.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.2108, allocations: 24.86 kB / 433.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.2111, allocations: 83.88 kB / 433.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006565/0.2118, allocations: 1.383 MB / 435.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.2121, allocations: 87.53 kB / 435.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.2122, allocations: 16 kB / 435.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004204/0.2126, allocations: 312.5 kB / 435.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000311/0.2129, allocations: 242.9 kB / 435.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005835/0.2135, allocations: 0.5149 MB / 436.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.2135, allocations: 4 kB / 436.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007992/0.2143, allocations: 0.5571 MB / 437 MB, free: 1.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.2144, allocations: 91.45 kB / 437.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2144, allocations: 4 kB / 437.1 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.566e-05/0.2145, allocations: 33.16 kB / 437.1 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.2147, allocations: 71.89 kB / 437.2 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006212/0.2153, allocations: 1.386 MB / 438.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.2157, allocations: 55.7 kB / 438.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.2158, allocations: 20 kB / 438.6 MB, free: 15.57 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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0001915/0.216, allocations: 279.5 kB / 438.9 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.2161, allocations: 51.38 kB / 439 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.217, allocations: 0.4883 MB / 439.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2171, allocations: 7.938 kB / 439.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2171, allocations: 0 / 439.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2171, allocations: 3.938 kB / 439.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.2187, allocations: 1.143 MB / 440.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2187, allocations: 3.938 kB / 440.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.219, allocations: 63.89 kB / 440.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.957e-05/0.2191, allocations: 20.84 kB / 440.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.2191, allocations: 8 kB / 440.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.2199, allocations: 1.367 MB / 442.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.22, allocations: 3.984 kB / 442.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2213, allocations: 0.7663 MB / 442.8 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2214, allocations: 136.5 kB / 443 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.2215, allocations: 8 kB / 443 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.2218, allocations: 47.89 kB / 443 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.2219, allocations: 31.91 kB / 443 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.222, allocations: 11.98 kB / 443.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004027/0.2224, allocations: 406.8 kB / 443.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2224, allocations: 4 kB / 443.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006855/0.2231, allocations: 270.8 kB / 443.7 MB, free: 10.17 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * 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.0007786/0.2239, allocations: 365.5 kB / 444.1 MB, free: 9.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.2257, allocations: 1.163 MB / 445.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2257, allocations: 0 / 445.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.2263, allocations: 429.8 kB / 445.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.2268, allocations: 97.41 kB / 445.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.2287, allocations: 1.197 MB / 447 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.2292, allocations: 0.8933 MB / 447.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.2294, allocations: 55.38 kB / 447.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.2295, allocations: 35.44 kB / 447.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2295, allocations: 0 / 447.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of Templates: time 0.01158/0.2411, allocations: 7.013 MB / 454.9 MB, free: 14.91 MB / 334.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)