Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007796/0.0007797, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008373/0.0008372, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1838/0.1838, allocations: 8.022 MB / 299.1 MB, free: 3.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8 kB / 361.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 52.19 MB / 414 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004076/0.1165, allocations: 3.533 MB / 417.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1184, allocations: 1.318 MB / 418.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.1186, allocations: 12 kB / 418.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1189, allocations: 115.3 kB / 419 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.1193, allocations: 163 kB / 419.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.1198, allocations: 251.1 kB / 419.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006972/0.1205, allocations: 0.7241 MB / 420.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.121, allocations: 312 kB / 420.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.1212, allocations: 223.1 kB / 420.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.1215, allocations: 262.7 kB / 420.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.1216, allocations: 39.94 kB / 420.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1217, allocations: 59.97 kB / 421 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1219, allocations: 135.5 kB / 421.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.122, allocations: 153.3 kB / 421.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.1227, allocations: 0.7637 MB / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1227, allocations: 0 / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1227, allocations: 0 / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1227, allocations: 0 / 422 MB, free: 1.957 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00145/0.1242, allocations: 1.005 MB / 423 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.1242, allocations: 8.031 kB / 423 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1243, allocations: 79.06 kB / 423.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.1249, allocations: 480.7 kB / 423.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.125, allocations: 57.3 kB / 423.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.1251, allocations: 67.91 kB / 423.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1943/0.3194, allocations: 0.6609 MB / 424.3 MB, free: 41.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.3195, allocations: 0 / 424.3 MB, free: 41.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.3195, allocations: 28.28 kB / 424.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3195, allocations: 14.38 kB / 424.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.3206, allocations: 0.5017 MB / 424.9 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.3238, allocations: 2.534 MB / 427.4 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.3246, allocations: 448.9 kB / 427.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.325, allocations: 182.2 kB / 428 MB, free: 40.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.325, allocations: 11.56 kB / 428.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.3255, allocations: 266.7 kB / 428.3 MB, free: 40.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.3256, allocations: 0 / 428.3 MB, free: 40.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001337/0.3269, allocations: 0.7313 MB / 429 MB, free: 40.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.327, allocations: 138.4 kB / 429.2 MB, free: 40.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.3275, allocations: 0.5531 MB / 429.7 MB, free: 40.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3275, allocations: 35.02 kB / 429.8 MB, free: 40.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.3278, allocations: 339.3 kB / 430.1 MB, free: 39.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.3278, allocations: 106 kB / 430.2 MB, free: 39.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.3279, allocations: 9.688 kB / 430.2 MB, free: 39.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.328, allocations: 362.2 kB / 430.6 MB, free: 39.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.3283, allocations: 165.7 kB / 430.7 MB, free: 39.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.3287, allocations: 274.4 kB / 431 MB, free: 39.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.3291, allocations: 267 kB / 431.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3291, allocations: 0 / 431.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009582/0.3301, allocations: 0.6192 MB / 431.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/0.3302, allocations: 262.8 kB / 432.1 MB, free: 38.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3302, allocations: 3.125 kB / 432.1 MB, free: 38.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.3303, allocations: 24.08 kB / 432.2 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.3307, allocations: 92.58 kB / 432.2 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006604/0.3313, allocations: 1.279 MB / 433.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.3317, allocations: 92.75 kB / 433.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3317, allocations: 17.17 kB / 433.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.3318, allocations: 3.156 kB / 433.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009047/0.3327, allocations: 0.5488 MB / 434.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3327, allocations: 6.625 kB / 434.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.3328, allocations: 25.38 kB / 434.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.333, allocations: 86.22 kB / 434.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005599/0.3336, allocations: 1.278 MB / 435.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3339, allocations: 73.67 kB / 435.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.334, allocations: 20.81 kB / 435.7 MB, free: 36.02 MB / 350.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 ($whenCondition1,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlange.limTau.state,oneFlange.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.3343, allocations: 368 kB / 436 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3343, allocations: 53.19 kB / 436.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/0.3352, allocations: 0.5148 MB / 436.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3352, allocations: 6.703 kB / 436.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3352, allocations: 7.094 kB / 436.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3352, allocations: 0 / 436.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3365, allocations: 1.154 MB / 437.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3366, allocations: 3.031 kB / 437.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.3368, allocations: 70.23 kB / 437.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/0.3369, allocations: 21.7 kB / 437.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.3369, allocations: 7.188 kB / 437.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005053/0.3374, allocations: 1.298 MB / 439.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3374, allocations: 0 / 439.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3386, allocations: 0.8042 MB / 440 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.3387, allocations: 131.5 kB / 440.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.3388, allocations: 18.23 kB / 440.1 MB, free: 32.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.3391, allocations: 57.44 kB / 440.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.3392, allocations: 28.8 kB / 440.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3392, allocations: 13.5 kB / 440.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.3396, allocations: 402 kB / 440.6 MB, free: 32.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 0 / 440.6 MB, free: 32.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006344/0.3402, allocations: 270.3 kB / 440.9 MB, free: 32.65 MB / 350.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.constPDC.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 (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007994/0.341, allocations: 361 kB / 441.2 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3425, allocations: 1.214 MB / 442.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3425, allocations: 3.25 kB / 442.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.343, allocations: 444.4 kB / 442.9 MB, free: 31.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.3435, allocations: 78.98 kB / 442.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.3451, allocations: 1.427 MB / 444.4 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3454, allocations: 0.8941 MB / 445.3 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002079/0.3456, allocations: 60.22 kB / 445.3 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.3457, allocations: 33.47 kB / 445.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3457, allocations: 3.938 kB / 445.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of Templates: time 0.009292/0.355, allocations: 6.267 MB / 451.6 MB, free: 29.23 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)