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.001234/0.001234, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001207/0.001207, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.236/1.236, 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.03634/0.03634, allocations: 8.038 MB / 299.2 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.88 kB / 413.7 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.07891, allocations: 51.19 MB / 464.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005013/0.08396, allocations: 4.297 MB / 469.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.086, allocations: 1.461 MB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.08624, allocations: 12 kB / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.08661, allocations: 154.8 kB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.0871, allocations: 222.4 kB / 471.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.08771, allocations: 390.6 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.08845, allocations: 0.8922 MB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.08899, allocations: 479.8 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.08929, allocations: 346.8 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.08966, allocations: 378.4 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.08977, allocations: 108 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.08994, allocations: 131.9 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.09012, allocations: 215.4 kB / 474 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.09043, allocations: 433.9 kB / 474.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.09129, allocations: 1.079 MB / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.0913, allocations: 0 / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09131, allocations: 0 / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.09133, allocations: 0 / 475.5 MB, free: 8.48 MB / 350.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.001617/0.09295, allocations: 1.148 MB / 476.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.09299, allocations: 8.031 kB / 476.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.09312, allocations: 84 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.09377, allocations: 0.5206 MB / 477.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.09383, allocations: 50 kB / 477.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.09393, allocations: 75.91 kB / 477.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.09506, allocations: 0.6996 MB / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.09511, allocations: 4 kB / 478.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.09518, allocations: 32 kB / 478.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.0952, allocations: 16 kB / 478.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.09626, allocations: 0.5015 MB / 478.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.09956, allocations: 2.548 MB / 481.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.1005, allocations: 439.4 kB / 481.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.1009, allocations: 184.8 kB / 481.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.101, allocations: 4 kB / 481.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.1015, allocations: 259.4 kB / 482 MB, free: 1.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.474e-06/0.1015, allocations: 0 / 482 MB, free: 1.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001657/0.1032, allocations: 0.712 MB / 482.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.1033, allocations: 136.5 kB / 482.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.104, allocations: 0.5645 MB / 483.4 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.1041, allocations: 33.7 kB / 483.5 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.1044, allocations: 360.1 kB / 483.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1045, allocations: 118.2 kB / 483.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1047, allocations: 74.06 kB / 484 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1048, allocations: 370.7 kB / 484.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.1052, allocations: 162.3 kB / 484.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.1057, allocations: 271.2 kB / 484.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/0.1067, allocations: 0.5425 MB / 485.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1067, allocations: 0 / 485.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001267/0.108, allocations: 0.5998 MB / 485.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.924e-05/0.1081, allocations: 93.09 kB / 486 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1081, allocations: 4.375 kB / 486 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.1083, allocations: 32.84 kB / 486.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.1086, allocations: 83.81 kB / 486.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1098, allocations: 1.387 MB / 487.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.1103, allocations: 75.48 kB / 487.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.1104, allocations: 19.98 kB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00063/0.111, allocations: 325 kB / 487.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000408/0.1114, allocations: 251.3 kB / 488.2 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007529/0.1122, allocations: 0.5148 MB / 488.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1122, allocations: 0 / 488.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001/0.1132, allocations: 0.5879 MB / 489.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.1133, allocations: 93.09 kB / 489.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.1133, allocations: 4 kB / 489.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.691e-05/0.1134, allocations: 28.84 kB / 489.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.1137, allocations: 71.89 kB / 489.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.1145, allocations: 1.391 MB / 490.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.1149, allocations: 67.84 kB / 490.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.115, allocations: 23.92 kB / 491 MB, free: 7.969 MB / 366.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.000195/0.1152, allocations: 264.4 kB / 491.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.1152, allocations: 55.34 kB / 491.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.1163, allocations: 0.5104 MB / 491.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1163, allocations: 4 kB / 491.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1163, allocations: 3.938 kB / 491.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1163, allocations: 0 / 491.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.118, allocations: 1.183 MB / 493 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.118, allocations: 0 / 493 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.1183, allocations: 63.89 kB / 493 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.893e-05/0.1184, allocations: 24.84 kB / 493.1 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.1185, allocations: 8 kB / 493.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008735/0.1193, allocations: 1.387 MB / 494.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1194, allocations: 0 / 494.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1208, allocations: 0.7967 MB / 495.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1209, allocations: 132.4 kB / 495.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.121, allocations: 19.94 kB / 495.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.1213, allocations: 47.95 kB / 495.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1214, allocations: 31.95 kB / 495.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.1215, allocations: 8 kB / 495.5 MB, free: 3.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004482/0.1219, allocations: 410.8 kB / 495.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1219, allocations: 0 / 495.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007829/0.1227, allocations: 290.8 kB / 496.2 MB, free: 2.445 MB / 366.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.0007813/0.1235, allocations: 372.5 kB / 496.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.1253, allocations: 1.182 MB / 497.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1253, allocations: 8.125 kB / 497.7 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.1259, allocations: 433.3 kB / 498.1 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.1264, allocations: 92.47 kB / 498.2 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1283, allocations: 1.262 MB / 499.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.1288, allocations: 0.9017 MB / 0.4887 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1289, allocations: 39.38 kB / 0.4887 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1289, allocations: 0 / 0.4887 GB, free: 14.11 MB / 382.1 MB Notification: Performance of Templates: time 0.0118/0.1407, allocations: 10.7 MB / 0.4991 GB, free: 3.41 MB / 382.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)