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.001217/0.001217, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001281/0.001281, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.21/1.21, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0358/0.0358, allocations: 8.038 MB / 298.8 MB, free: 7.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 55.91 kB / 360.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.198, allocations: 51.2 MB / 412 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004095/0.2021, allocations: 4.127 MB / 416.1 MB, free: 22.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.204, allocations: 1.38 MB / 417.5 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.2043, allocations: 12 kB / 417.5 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.2047, allocations: 119.3 kB / 417.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.2052, allocations: 159 kB / 417.8 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.2058, allocations: 350.1 kB / 418.1 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.2063, allocations: 0.8373 MB / 418.9 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.2067, allocations: 452.4 kB / 419.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.207, allocations: 322.9 kB / 419.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.2072, allocations: 346.5 kB / 420 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.2073, allocations: 99.98 kB / 420.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.2075, allocations: 124 kB / 420.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.2076, allocations: 203.4 kB / 420.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.2079, allocations: 398.1 kB / 420.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.2084, allocations: 0.7991 MB / 421.6 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2084, allocations: 0 / 421.6 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2084, allocations: 0 / 421.6 MB, free: 16.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.2084, allocations: 4 kB / 421.6 MB, free: 16.65 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001417/0.2098, allocations: 1.102 MB / 422.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2099, allocations: 16.03 kB / 422.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.21, allocations: 80 kB / 422.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.2105, allocations: 0.4934 MB / 423.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2105, allocations: 49.31 kB / 423.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.2106, allocations: 64 kB / 423.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.2116, allocations: 0.6527 MB / 424.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2116, allocations: 0 / 424.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.2117, allocations: 28 kB / 424.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2117, allocations: 16 kB / 424.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.2126, allocations: 472.9 kB / 424.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.2152, allocations: 2.516 MB / 427.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.216, allocations: 420 kB / 427.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.2163, allocations: 173 kB / 427.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.2164, allocations: 8.234 kB / 427.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.2169, allocations: 257.1 kB / 428 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.2169, allocations: 0 / 428 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001328/0.2183, allocations: 0.6745 MB / 428.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.2183, allocations: 148.7 kB / 428.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.2188, allocations: 0.5527 MB / 429.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2188, allocations: 33.7 kB / 429.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.219, allocations: 335.4 kB / 429.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.2191, allocations: 106.5 kB / 429.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2192, allocations: 81.59 kB / 429.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.2193, allocations: 358.8 kB / 430.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.2196, allocations: 165.1 kB / 430.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.22, allocations: 246.5 kB / 430.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.2207, allocations: 0.5346 MB / 431.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2207, allocations: 7.875 kB / 431.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009702/0.2217, allocations: 0.5882 MB / 431.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.2218, allocations: 97.66 kB / 431.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2218, allocations: 4 kB / 431.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.2219, allocations: 21.23 kB / 431.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.2222, allocations: 83.88 kB / 432 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007011/0.2229, allocations: 1.382 MB / 433.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.2233, allocations: 79.58 kB / 433.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.2234, allocations: 20 kB / 433.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004478/0.2238, allocations: 316.4 kB / 433.7 MB, free: 3.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003146/0.2241, allocations: 246.8 kB / 434 MB, free: 3.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006093/0.2248, allocations: 0.5071 MB / 434.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.2248, allocations: 4 kB / 434.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008225/0.2256, allocations: 0.561 MB / 435.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2257, allocations: 89.09 kB / 435.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2257, allocations: 4 kB / 435.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.1e-05/0.2257, allocations: 20.86 kB / 435.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.226, allocations: 84.16 kB / 435.2 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005783/0.2266, allocations: 1.382 MB / 436.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.227, allocations: 59.73 kB / 436.7 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.227, allocations: 20 kB / 436.7 MB, free: 0.5391 MB / 302.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.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 (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.0001476/0.2271, allocations: 275.5 kB / 437 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.2272, allocations: 51.34 kB / 437 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.2283, allocations: 494.6 kB / 437.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2283, allocations: 8 kB / 437.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2283, allocations: 0 / 437.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2283, allocations: 0 / 437.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.23, allocations: 1.124 MB / 438.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.23, allocations: 4 kB / 438.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2303, allocations: 55.95 kB / 438.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.079e-05/0.2304, allocations: 28.78 kB / 438.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.2304, allocations: 15.94 kB / 438.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009111/0.2314, allocations: 1.371 MB / 440.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2314, allocations: 160 / 440.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.2328, allocations: 0.7728 MB / 440.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2329, allocations: 132.5 kB / 441 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.233, allocations: 12 kB / 441 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.2333, allocations: 43.94 kB / 441.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2334, allocations: 31.97 kB / 441.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.2335, allocations: 11.94 kB / 441.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004471/0.2339, allocations: 410.8 kB / 441.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.234, allocations: 0 / 441.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007525/0.2347, allocations: 266.9 kB / 441.8 MB, free: 11.16 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,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 (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.0008317/0.2355, allocations: 362.7 kB / 442.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2375, allocations: 1.174 MB / 443.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2375, allocations: 0 / 443.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.2382, allocations: 435.5 kB / 443.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.2388, allocations: 93.86 kB / 443.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.2408, allocations: 1.465 MB / 445.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.2413, allocations: 0.8893 MB / 446.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2414, allocations: 39.44 kB / 446.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2414, allocations: 0 / 446.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of Templates: time 0.01229/0.2537, allocations: 10.19 MB / 456.4 MB, free: 12.46 MB / 334.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)