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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.001308/0.001313, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001273/0.001273, allocations: 194.4 kB / 16.91 MB, free: 6.188 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.041/0.041, allocations: 8.028 MB / 298.8 MB, free: 7.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 55.91 kB / 360.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2121, allocations: 51.19 MB / 412 MB, free: 26.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.00455/0.2167, allocations: 4.298 MB / 416.3 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.2185, allocations: 1.43 MB / 417.7 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.2188, allocations: 12 kB / 417.7 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.2192, allocations: 123.3 kB / 417.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.2196, allocations: 170.9 kB / 418 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.2202, allocations: 366.4 kB / 418.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.2207, allocations: 0.8923 MB / 419.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.2212, allocations: 477.8 kB / 419.7 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.2215, allocations: 338.8 kB / 420.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.2217, allocations: 390.4 kB / 420.4 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.2218, allocations: 100 kB / 420.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.222, allocations: 131.9 kB / 420.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.2221, allocations: 215.4 kB / 420.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.2224, allocations: 426 kB / 421.3 MB, free: 17.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.223, allocations: 0.8615 MB / 422.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.223, allocations: 4 kB / 422.2 MB, free: 16.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.223, allocations: 0 / 422.2 MB, free: 16.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.223, allocations: 0 / 422.2 MB, free: 16.14 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.001511/0.2245, allocations: 1.14 MB / 423.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2246, allocations: 16.03 kB / 423.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.2247, allocations: 91.92 kB / 423.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.2252, allocations: 0.5011 MB / 423.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.2253, allocations: 61.98 kB / 424 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.2253, allocations: 71.91 kB / 424 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2264, allocations: 0.7075 MB / 424.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2265, allocations: 3.938 kB / 424.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.2265, allocations: 28 kB / 424.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2265, allocations: 16 kB / 424.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.2275, allocations: 0.4977 MB / 425.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.2303, allocations: 2.564 MB / 427.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.2311, allocations: 439.5 kB / 428.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.2314, allocations: 180.8 kB / 428.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.2315, allocations: 7.984 kB / 428.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.232, allocations: 266.8 kB / 428.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.232, allocations: 0 / 428.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001369/0.2334, allocations: 0.7004 MB / 429.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2334, allocations: 136.5 kB / 429.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.2339, allocations: 0.5723 MB / 430.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2339, allocations: 33.7 kB / 430.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.2341, allocations: 351.9 kB / 430.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.2342, allocations: 114.4 kB / 430.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2343, allocations: 78.06 kB / 430.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.2344, allocations: 370.7 kB / 431.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.2347, allocations: 162.3 kB / 431.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.2351, allocations: 263.2 kB / 431.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.2358, allocations: 0.5466 MB / 432 MB, free: 5.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2358, allocations: 4 kB / 432 MB, free: 5.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009416/0.2368, allocations: 0.5959 MB / 432.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2368, allocations: 96.12 kB / 432.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2368, allocations: 4 kB / 432.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.237, allocations: 32.78 kB / 432.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.2373, allocations: 79.89 kB / 432.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/0.238, allocations: 1.387 MB / 434.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.2384, allocations: 83.52 kB / 434.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.2384, allocations: 16 kB / 434.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004463/0.2388, allocations: 324.8 kB / 434.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003287/0.2392, allocations: 247.2 kB / 434.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006176/0.2398, allocations: 0.5263 MB / 435.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.2398, allocations: 96 / 435.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008427/0.2407, allocations: 0.5803 MB / 436 MB, free: 1.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.2407, allocations: 93.09 kB / 436.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.2407, allocations: 0 / 436.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.117e-05/0.2408, allocations: 29.23 kB / 436.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.2411, allocations: 83.88 kB / 436.2 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007018/0.2418, allocations: 1.39 MB / 437.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.2422, allocations: 59.73 kB / 437.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.2422, allocations: 24.08 kB / 437.6 MB, free: 15.63 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.0002358/0.2425, allocations: 268.2 kB / 437.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.2426, allocations: 59.33 kB / 438 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2437, allocations: 0.5186 MB / 438.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2437, allocations: 4 kB / 438.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.2438, allocations: 0 / 438.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2438, allocations: 0 / 438.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.2457, allocations: 1.179 MB / 439.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2457, allocations: 0 / 439.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.246, allocations: 55.95 kB / 439.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.105e-05/0.2461, allocations: 24.84 kB / 439.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.2462, allocations: 11.94 kB / 439.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.2473, allocations: 1.391 MB / 441.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2473, allocations: 7.938 kB / 441.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.2489, allocations: 0.7886 MB / 441.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2491, allocations: 140.4 kB / 442.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.2491, allocations: 11.98 kB / 442.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.2495, allocations: 39.95 kB / 442.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2496, allocations: 31.97 kB / 442.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.2497, allocations: 15.98 kB / 442.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005141/0.2502, allocations: 410.8 kB / 442.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2502, allocations: 0 / 442.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008181/0.251, allocations: 286.8 kB / 442.9 MB, free: 10.11 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.001276/0.2523, allocations: 378.8 kB / 443.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.2545, allocations: 1.194 MB / 444.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2546, allocations: 0 / 444.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006839/0.2552, allocations: 457.2 kB / 444.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.2558, allocations: 73.88 kB / 444.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.2584, allocations: 1.524 MB / 446.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.2589, allocations: 0.8978 MB / 447.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2591, allocations: 47.42 kB / 447.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2591, allocations: 0 / 447.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of Templates: time 0.01552/0.2746, allocations: 10.65 MB / 458.1 MB, free: 10.84 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)