Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001096/0.001095, allocations: 96.22 kB / 16.23 MB, free: 5.918 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.001381/0.001382, allocations: 189.2 kB / 17.16 MB, free: 5.555 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.3/1.3, allocations: 222.9 MB / 240.8 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0373/0.0373, allocations: 8.031 MB / 299 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.89 kB / 361.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2155, allocations: 51.19 MB / 412.4 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004728/0.2203, allocations: 4.133 MB / 416.5 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.2227, allocations: 1.411 MB / 418 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.2233, allocations: 15.94 kB / 418 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.2238, allocations: 150.8 kB / 418.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007858/0.2247, allocations: 206.5 kB / 418.3 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.2255, allocations: 382.7 kB / 418.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.2265, allocations: 0.8496 MB / 419.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.2271, allocations: 497.7 kB / 420 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.2276, allocations: 326.8 kB / 420.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.228, allocations: 366.4 kB / 420.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.2282, allocations: 96 kB / 420.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.2284, allocations: 120 kB / 420.9 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2286, allocations: 211.4 kB / 421.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.2289, allocations: 402.1 kB / 421.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.2298, allocations: 1.024 MB / 422.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2298, allocations: 0 / 422.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2298, allocations: 4 kB / 422.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.2299, allocations: 0 / 422.5 MB, free: 16.16 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.001863/0.2317, allocations: 1.108 MB / 423.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2318, allocations: 8.031 kB / 423.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.2319, allocations: 80 kB / 423.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.2325, allocations: 0.5015 MB / 424.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.2325, allocations: 57.25 kB / 424.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.2326, allocations: 67.91 kB / 424.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.2337, allocations: 0.6722 MB / 425 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.2338, allocations: 0 / 425 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.2338, allocations: 28 kB / 425.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.2338, allocations: 19.94 kB / 425.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/0.2348, allocations: 492.9 kB / 425.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.238, allocations: 2.583 MB / 428.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.2388, allocations: 428.8 kB / 428.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.2392, allocations: 173 kB / 428.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.2393, allocations: 4.234 kB / 428.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006437/0.2399, allocations: 257.7 kB / 429 MB, free: 9.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.524e-06/0.2399, allocations: 0 / 429 MB, free: 9.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001478/0.2414, allocations: 0.6855 MB / 429.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.2415, allocations: 136.5 kB / 429.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.242, allocations: 0.5489 MB / 430.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2421, allocations: 33.7 kB / 430.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.2423, allocations: 352 kB / 430.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.2424, allocations: 106.5 kB / 430.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2425, allocations: 77.69 kB / 430.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.2426, allocations: 358.8 kB / 431.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.2429, allocations: 161.2 kB / 431.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.2433, allocations: 265 kB / 431.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.2441, allocations: 0.5271 MB / 432.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2441, allocations: 4.094 kB / 432.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001012/0.2451, allocations: 0.5998 MB / 432.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.2452, allocations: 89.09 kB / 432.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2452, allocations: 4 kB / 432.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.2454, allocations: 24.84 kB / 432.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.2457, allocations: 79.88 kB / 433 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007721/0.2465, allocations: 1.39 MB / 434.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.2469, allocations: 79.39 kB / 434.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.247, allocations: 16 kB / 434.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004943/0.2475, allocations: 316.5 kB / 434.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000378/0.2479, allocations: 246.9 kB / 435 MB, free: 2.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006487/0.2485, allocations: 0.5188 MB / 435.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.2485, allocations: 0 / 435.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009262/0.2495, allocations: 0.5493 MB / 436.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.2495, allocations: 99.91 kB / 436.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2495, allocations: 8 kB / 436.2 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-05/0.2496, allocations: 32.77 kB / 436.2 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.2499, allocations: 71.89 kB / 436.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006673/0.2506, allocations: 1.382 MB / 437.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.251, allocations: 63.83 kB / 437.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.2511, allocations: 16 kB / 437.8 MB, free: 15.91 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.0002237/0.2513, allocations: 267.5 kB / 438 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.2514, allocations: 47.44 kB / 438.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.2525, allocations: 0.496 MB / 438.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2525, allocations: 4 kB / 438.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2525, allocations: 0 / 438.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2526, allocations: 7.922 kB / 438.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.2544, allocations: 1.135 MB / 439.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.2544, allocations: 3.938 kB / 439.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.2547, allocations: 67.88 kB / 439.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.718e-05/0.2548, allocations: 20.86 kB / 439.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.2549, allocations: 11.98 kB / 439.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009728/0.2559, allocations: 1.375 MB / 441.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2559, allocations: 0 / 441.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.2574, allocations: 0.7612 MB / 442 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2575, allocations: 136.5 kB / 442.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.2576, allocations: 8 kB / 442.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.258, allocations: 51.88 kB / 442.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2581, allocations: 31.91 kB / 442.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.2581, allocations: 8 kB / 442.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004845/0.2586, allocations: 406.8 kB / 442.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2586, allocations: 0 / 442.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009014/0.2595, allocations: 278.8 kB / 442.9 MB, free: 10.51 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.0009116/0.2605, allocations: 359.4 kB / 443.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.2625, allocations: 1.171 MB / 444.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2626, allocations: 0 / 444.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.2632, allocations: 425.2 kB / 444.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.2639, allocations: 86.52 kB / 444.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.2662, allocations: 1.243 MB / 446.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.2667, allocations: 0.8933 MB / 447 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.2669, allocations: 39.44 kB / 447.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2669, allocations: 0 / 447.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Templates: time 0.01446/0.2813, allocations: 10.37 MB / 457.4 MB, free: 11.88 MB / 334.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)