Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 115.5 kB / 16.37 MB, free: 6.012 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.001287/0.001287, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04073/0.04073, allocations: 8.029 MB / 299.2 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 362.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2229, allocations: 51.2 MB / 413.3 MB, free: 26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.00484/0.2278, allocations: 4.125 MB / 417.4 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.23, allocations: 1.418 MB / 418.8 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.2304, allocations: 15.94 kB / 418.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.2308, allocations: 150.8 kB / 419 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.2313, allocations: 198.5 kB / 419.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.232, allocations: 394.1 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.2326, allocations: 0.8573 MB / 420.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.2331, allocations: 495.4 kB / 420.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2333, allocations: 319 kB / 421.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.2336, allocations: 366.4 kB / 421.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.2337, allocations: 96 kB / 421.7 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.2339, allocations: 116 kB / 421.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.234, allocations: 215.3 kB / 422 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.2343, allocations: 402.1 kB / 422.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.2349, allocations: 1.038 MB / 423.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2349, allocations: 8 kB / 423.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2349, allocations: 0 / 423.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.235, allocations: 0 / 423.4 MB, free: 15.82 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001501/0.2365, allocations: 1.116 MB / 424.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2365, allocations: 8.031 kB / 424.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2366, allocations: 80 kB / 424.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.2372, allocations: 0.5054 MB / 425.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.2373, allocations: 53.25 kB / 425.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.2374, allocations: 71.91 kB / 425.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.2384, allocations: 0.6683 MB / 425.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2384, allocations: 0 / 425.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.2385, allocations: 31.98 kB / 426 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2385, allocations: 16 kB / 426 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/0.2394, allocations: 492.9 kB / 426.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.2422, allocations: 2.547 MB / 429 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.2431, allocations: 428 kB / 429.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2434, allocations: 176.9 kB / 429.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.2435, allocations: 12.33 kB / 429.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.2439, allocations: 261.6 kB / 429.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.2439, allocations: 0 / 429.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001312/0.2453, allocations: 0.6778 MB / 430.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2453, allocations: 140.5 kB / 430.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.2458, allocations: 0.5527 MB / 431.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.2458, allocations: 33.7 kB / 431.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.246, allocations: 344 kB / 431.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.246, allocations: 106.5 kB / 431.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2462, allocations: 81.62 kB / 431.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.2462, allocations: 358.8 kB / 432.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2466, allocations: 165.1 kB / 432.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.2469, allocations: 258.5 kB / 432.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.2476, allocations: 0.5348 MB / 433.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2477, allocations: 0 / 433.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009205/0.2486, allocations: 0.592 MB / 433.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.2486, allocations: 89.09 kB / 433.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2487, allocations: 7.938 kB / 433.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.2488, allocations: 20.86 kB / 433.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.2491, allocations: 92.22 kB / 433.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006856/0.2498, allocations: 1.386 MB / 435.3 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.2502, allocations: 79.39 kB / 435.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2502, allocations: 16 kB / 435.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004389/0.2507, allocations: 312.5 kB / 435.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003251/0.251, allocations: 254.9 kB / 435.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006077/0.2516, allocations: 0.5033 MB / 436.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.2516, allocations: 0 / 436.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008391/0.2525, allocations: 0.5614 MB / 437 MB, free: 1.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.2525, allocations: 97.09 kB / 437.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2525, allocations: 4 kB / 437.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.361e-05/0.2526, allocations: 24.8 kB / 437.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2529, allocations: 79.88 kB / 437.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006667/0.2536, allocations: 1.378 MB / 438.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.254, allocations: 59.83 kB / 438.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.254, allocations: 20 kB / 438.6 MB, free: 15.58 MB / 318.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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0001918/0.2542, allocations: 271.9 kB / 438.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.2543, allocations: 51.44 kB / 438.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.2553, allocations: 0.496 MB / 439.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2553, allocations: 0 / 439.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2553, allocations: 4 kB / 439.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2554, allocations: 3.938 kB / 439.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.2571, allocations: 1.143 MB / 440.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2571, allocations: 11.88 kB / 440.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.2574, allocations: 51.95 kB / 440.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-05/0.2575, allocations: 24.84 kB / 440.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.2575, allocations: 8 kB / 440.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000863/0.2584, allocations: 1.367 MB / 442.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2584, allocations: 4.062 kB / 442.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.2598, allocations: 0.7739 MB / 442.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2599, allocations: 128.5 kB / 443 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.26, allocations: 8 kB / 443 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.2603, allocations: 43.89 kB / 443 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.2604, allocations: 35.95 kB / 443 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2605, allocations: 12 kB / 443.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.2609, allocations: 402.8 kB / 443.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2609, allocations: 4 kB / 443.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007428/0.2617, allocations: 270.8 kB / 443.7 MB, free: 10.18 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.0007946/0.2625, allocations: 370.2 kB / 444.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.2643, allocations: 1.159 MB / 445.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2643, allocations: 0 / 445.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.2649, allocations: 438 kB / 445.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.2654, allocations: 92.75 kB / 445.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.2673, allocations: 1.199 MB / 447 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.2678, allocations: 0.8933 MB / 447.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.268, allocations: 63.34 kB / 447.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.2681, allocations: 35.44 kB / 447.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2681, allocations: 0 / 447.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of Templates: time 0.01181/0.2799, allocations: 7.016 MB / 455 MB, free: 14.91 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)