Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 104.5 kB / 15.78 MB, free: 5.984 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.001658/0.001658, allocations: 202.5 kB / 16.73 MB, free: 5.828 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.523/1.523, allocations: 225.6 MB / 243.1 MB, free: 3.703 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05842/0.05842, allocations: 8.124 MB / 304.1 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 424.4 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 54.06 MB / 478.4 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange3): time 0.006286/0.3632, allocations: 4.873 MB / 483.3 MB, free: 20.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.3678, allocations: 2.57 MB / 485.9 MB, free: 18.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.3684, allocations: 22.5 kB / 485.9 MB, free: 18.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.369, allocations: 231.8 kB / 486.1 MB, free: 18.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007151/0.3697, allocations: 295.7 kB / 486.4 MB, free: 18.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3709, allocations: 0.5462 MB / 487 MB, free: 17.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3721, allocations: 1.031 MB / 488 MB, free: 17.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.3726, allocations: 339.7 kB / 488.3 MB, free: 17.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.373, allocations: 392.2 kB / 488.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.3736, allocations: 461.5 kB / 489.2 MB, free: 16.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.3738, allocations: 107.4 kB / 489.3 MB, free: 16.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.3742, allocations: 195.4 kB / 489.5 MB, free: 16.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.3745, allocations: 250.2 kB / 489.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.3749, allocations: 473.3 kB / 490.2 MB, free: 16.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3766, allocations: 1.265 MB / 491.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3766, allocations: 0 / 491.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3766, allocations: 3.938 kB / 491.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.3766, allocations: 0 / 491.4 MB, free: 15.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002151/0.3787, allocations: 1.31 MB / 492.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3788, allocations: 13.5 kB / 492.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3789, allocations: 106.5 kB / 492.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.3798, allocations: 0.6037 MB / 493.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.3798, allocations: 54.33 kB / 493.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3799, allocations: 72.42 kB / 493.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.3812, allocations: 0.7019 MB / 494.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.3812, allocations: 13.33 kB / 494.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.3813, allocations: 28.25 kB / 494.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.3813, allocations: 20.44 kB / 494.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3824, allocations: 0.5008 MB / 494.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003573/0.386, allocations: 2.612 MB / 497.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/0.387, allocations: 429 kB / 497.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.3874, allocations: 167.2 kB / 498 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.3874, allocations: 8.297 kB / 498.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000575/0.388, allocations: 270.7 kB / 498.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.388, allocations: 1.094 kB / 498.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001639/0.3896, allocations: 0.7444 MB / 499.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.3897, allocations: 195.5 kB / 499.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.3907, allocations: 0.7883 MB / 0.4883 GB, free: 10.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.3907, allocations: 37.72 kB / 0.4884 GB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.3909, allocations: 410.6 kB / 0.4888 GB, free: 9.824 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.391, allocations: 130.7 kB / 0.4889 GB, free: 9.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.3912, allocations: 89.81 kB / 0.489 GB, free: 9.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3913, allocations: 375.6 kB / 0.4893 GB, free: 9.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.3917, allocations: 178.2 kB / 0.4895 GB, free: 9.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.3922, allocations: 301.3 kB / 0.4898 GB, free: 8.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008596/0.3931, allocations: 0.5784 MB / 0.4903 GB, free: 8.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3931, allocations: 1.156 kB / 0.4903 GB, free: 8.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00123/0.3943, allocations: 0.6573 MB / 0.491 GB, free: 8.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.3944, allocations: 94.84 kB / 0.4911 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3944, allocations: 3.281 kB / 0.4911 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.3945, allocations: 30.34 kB / 0.4911 GB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.3949, allocations: 94.84 kB / 0.4912 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007953/0.3957, allocations: 1.385 MB / 0.4926 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.3962, allocations: 91.06 kB / 0.4926 GB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.3963, allocations: 19.75 kB / 0.4927 GB, free: 6.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006208/0.3969, allocations: 363.4 kB / 0.493 GB, free: 6.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004173/0.3973, allocations: 282.3 kB / 0.4933 GB, free: 6.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008009/0.3981, allocations: 0.5501 MB / 0.4938 GB, free: 5.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-06/0.3981, allocations: 0 / 0.4938 GB, free: 5.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001191/0.3993, allocations: 0.6405 MB / 0.4944 GB, free: 5.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.3994, allocations: 94.39 kB / 0.4945 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3994, allocations: 10.7 kB / 0.4945 GB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.151e-05/0.3995, allocations: 21.58 kB / 0.4946 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.3998, allocations: 91.91 kB / 0.4946 GB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006755/0.4005, allocations: 1.381 MB / 0.496 GB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.401, allocations: 71.14 kB / 0.4961 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.401, allocations: 19.94 kB / 0.4961 GB, free: 3.547 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0002176/0.4012, allocations: 286.7 kB / 0.4964 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4014, allocations: 82.62 kB / 0.4964 GB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4026, allocations: 0.5383 MB / 0.497 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4026, allocations: 2.688 kB / 0.497 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4026, allocations: 1.188 kB / 0.497 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4026, allocations: 0 / 0.497 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.4046, allocations: 1.298 MB / 0.4982 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4046, allocations: 0 / 0.4982 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.4049, allocations: 70.27 kB / 0.4983 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.713e-05/0.405, allocations: 23.88 kB / 0.4983 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.405, allocations: 11.09 kB / 0.4983 GB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006528/0.4057, allocations: 1.371 MB / 0.4997 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4057, allocations: 0 / 0.4997 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.4072, allocations: 0.8361 MB / 0.5005 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.4075, allocations: 186.7 kB / 0.5007 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.4076, allocations: 13.48 kB / 0.5007 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.408, allocations: 40.7 kB / 0.5007 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4082, allocations: 39.02 kB / 0.5007 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4082, allocations: 16.25 kB / 0.5008 GB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008658/0.4091, allocations: 0.5605 MB / 0.5013 GB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4091, allocations: 0 / 0.5013 GB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001068/0.4101, allocations: 319.5 kB / 0.5016 GB, free: 15.27 MB / 382.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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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.002489/0.4126, allocations: 0.655 MB / 0.5023 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.4149, allocations: 1.178 MB / 0.5034 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4149, allocations: 0.8125 kB / 0.5034 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006863/0.4156, allocations: 414.4 kB / 0.5038 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.4163, allocations: 141 kB / 0.5039 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.4193, allocations: 1.451 MB / 0.5054 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.42, allocations: 0.9518 MB / 0.5063 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.4203, allocations: 87.7 kB / 0.5064 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.4205, allocations: 50.02 kB / 0.5064 GB, free: 11.86 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4205, allocations: 0 / 0.5064 GB, free: 11.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01812/0.4386, allocations: 8.922 MB / 0.5151 GB, free: 3.465 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe 2>&1)