Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008/0.008, allocations: 97.25 kB / 15.73 MB, free: 6.039 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.001676/0.001675, allocations: 204.6 kB / 16.68 MB, free: 5.961 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1981/0.1981, allocations: 8.007 MB / 298.5 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 413.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 51.23 MB / 464.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn): time 0.006107/0.3041, allocations: 4.87 MB / 469.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3077, allocations: 1.962 MB / 471.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.3084, allocations: 20.72 kB / 471.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.3091, allocations: 239.4 kB / 471.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007547/0.3099, allocations: 280.3 kB / 471.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3112, allocations: 0.5544 MB / 472.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3124, allocations: 1.039 MB / 473.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.3131, allocations: 0.5308 MB / 473.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.3136, allocations: 394.5 kB / 474.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.3141, allocations: 452.1 kB / 474.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.3143, allocations: 105.1 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.3147, allocations: 184.8 kB / 475 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.315, allocations: 246.4 kB / 475.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.3153, allocations: 477.3 kB / 475.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.3168, allocations: 1.24 MB / 476.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3168, allocations: 1.094 kB / 476.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3168, allocations: 0 / 476.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3169, allocations: 0 / 476.9 MB, free: 10.39 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.002037/0.3189, allocations: 1.323 MB / 478.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.319, allocations: 12.55 kB / 478.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.3192, allocations: 115 kB / 478.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.3199, allocations: 0.6055 MB / 479 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.32, allocations: 56.28 kB / 479 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3201, allocations: 80.67 kB / 479.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3214, allocations: 0.7179 MB / 479.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.3214, allocations: 1.125 kB / 479.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.3215, allocations: 35.38 kB / 479.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.3215, allocations: 16.38 kB / 479.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3226, allocations: 0.5087 MB / 480.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.3257, allocations: 2.656 MB / 483.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.3267, allocations: 458.4 kB / 483.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.3271, allocations: 178.8 kB / 483.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.3271, allocations: 8.812 kB / 483.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005434/0.3277, allocations: 276.5 kB / 484 MB, free: 5.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.3277, allocations: 0 / 484 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001696/0.3294, allocations: 0.7384 MB / 484.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3295, allocations: 139 kB / 484.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/0.3304, allocations: 0.783 MB / 485.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3304, allocations: 33.61 kB / 485.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.3306, allocations: 422.2 kB / 486.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.3307, allocations: 120.4 kB / 486.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3309, allocations: 90.98 kB / 486.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.331, allocations: 384.2 kB / 486.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.3314, allocations: 178.6 kB / 486.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.3319, allocations: 276.2 kB / 487.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.3327, allocations: 0.5717 MB / 487.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3327, allocations: 5.375 kB / 487.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001294/0.334, allocations: 0.6529 MB / 488.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.3341, allocations: 97.97 kB / 488.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3341, allocations: 2.375 kB / 488.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.3343, allocations: 26.84 kB / 488.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.3347, allocations: 97.97 kB / 488.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007319/0.3354, allocations: 1.395 MB / 489.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.3359, allocations: 81.7 kB / 490 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.336, allocations: 24.17 kB / 490 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006067/0.3366, allocations: 364 kB / 490.4 MB, free: 408 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003954/0.337, allocations: 265.3 kB / 490.6 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008908/0.3379, allocations: 0.5458 MB / 491.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.3379, allocations: 5.406 kB / 491.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001278/0.3392, allocations: 0.6325 MB / 491.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/0.3393, allocations: 99.11 kB / 491.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3393, allocations: 7.688 kB / 491.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.214e-05/0.3394, allocations: 29.25 kB / 492 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.3398, allocations: 92.62 kB / 492.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.3408, allocations: 1.378 MB / 493.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.3413, allocations: 69.86 kB / 493.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3414, allocations: 23.69 kB / 493.5 MB, free: 13.71 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 (tauRef1.count,$PRE.tauRef1.count,tauRef1.T_start,$PRE.tauRef1.T_start,oneFlange.limTau.state,$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.0002773/0.3417, allocations: 274.6 kB / 493.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3418, allocations: 72.81 kB / 493.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.3431, allocations: 0.5469 MB / 494.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3431, allocations: 8.281 kB / 494.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3431, allocations: 0 / 494.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3431, allocations: 1.125 kB / 494.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.3453, allocations: 1.271 MB / 495.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3453, allocations: 1.281 kB / 495.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.3457, allocations: 63.77 kB / 495.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.955e-05/0.3458, allocations: 26.36 kB / 495.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.3458, allocations: 12.25 kB / 495.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.347, allocations: 1.373 MB / 497.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.347, allocations: 1.094 kB / 497.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3487, allocations: 0.8293 MB / 498 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.349, allocations: 198.5 kB / 498.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.3491, allocations: 8.188 kB / 498.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3495, allocations: 41.05 kB / 498.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3496, allocations: 37.23 kB / 498.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.3496, allocations: 12.75 kB / 498.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007246/0.3504, allocations: 0.5511 MB / 498.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3504, allocations: 0 / 498.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009212/0.3513, allocations: 312.5 kB / 499.1 MB, free: 9.43 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlange.limTau.state,tauRef1.T_start,tauRef1.count) * Number of discrete states: 2 (tauRef1.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.002296/0.3536, allocations: 0.6135 MB / 499.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.3558, allocations: 1.23 MB / 0.4892 GB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3559, allocations: 0 / 0.4892 GB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.3566, allocations: 437.7 kB / 0.4897 GB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.3573, allocations: 134.2 kB / 0.4898 GB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3598, allocations: 1.476 MB / 0.4912 GB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.3605, allocations: 0.9565 MB / 0.4922 GB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.3608, allocations: 80.56 kB / 0.4922 GB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3609, allocations: 51.42 kB / 0.4923 GB, free: 4.523 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.361, allocations: 0 / 0.4923 GB, free: 4.523 MB / 366.1 MB Notification: Performance of Templates: time 0.0167/0.3777, allocations: 8.448 MB / 0.5005 GB, free: 12.11 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe 2>&1)