Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001465/0.001465, allocations: 105.9 kB / 16.27 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.001529/0.001529, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04182/0.04182, allocations: 8.03 MB / 299.1 MB, free: 6.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.89 kB / 361.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2025, allocations: 51.19 MB / 412.5 MB, free: 26.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006829/0.2094, allocations: 4.127 MB / 416.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.2126, allocations: 1.418 MB / 418 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005478/0.2132, allocations: 15.94 kB / 418.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.2138, allocations: 154.8 kB / 418.2 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009769/0.2148, allocations: 198.5 kB / 418.4 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.216, allocations: 378.6 kB / 418.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2173, allocations: 0.8534 MB / 419.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.2183, allocations: 493.6 kB / 420.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.2189, allocations: 326.8 kB / 420.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.2195, allocations: 358.4 kB / 420.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.2197, allocations: 96 kB / 420.9 MB, free: 17.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.2201, allocations: 128 kB / 421 MB, free: 17.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.2204, allocations: 215.3 kB / 421.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005706/0.221, allocations: 402.1 kB / 421.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2222, allocations: 1.016 MB / 422.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.2223, allocations: 0 / 422.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2223, allocations: 0 / 422.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.2223, allocations: 4 kB / 422.6 MB, free: 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.002722/0.2251, allocations: 1.112 MB / 423.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2251, allocations: 8.031 kB / 423.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.2253, allocations: 80 kB / 423.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.2262, allocations: 0.4977 MB / 424.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.2263, allocations: 57.23 kB / 424.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.2264, allocations: 71.91 kB / 424.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.2282, allocations: 0.6683 MB / 425.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.2282, allocations: 0 / 425.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.2283, allocations: 28 kB / 425.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.2284, allocations: 23.92 kB / 425.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.2301, allocations: 488.9 kB / 425.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.235, allocations: 2.579 MB / 428.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.2364, allocations: 436.7 kB / 428.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.237, allocations: 181 kB / 428.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.2371, allocations: 4.234 kB / 428.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/0.238, allocations: 253.6 kB / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 3.065e-06/0.238, allocations: 0 / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.002436/0.2404, allocations: 0.6817 MB / 429.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.2405, allocations: 140.5 kB / 429.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008794/0.2414, allocations: 0.5527 MB / 430.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.2414, allocations: 37.64 kB / 430.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.2417, allocations: 340 kB / 430.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2419, allocations: 110.5 kB / 430.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2421, allocations: 73.69 kB / 431 MB, free: 7.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.2422, allocations: 362.8 kB / 431.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/0.2428, allocations: 161.2 kB / 431.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.2435, allocations: 258.5 kB / 431.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.2448, allocations: 0.5348 MB / 432.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2448, allocations: 4 kB / 432.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001745/0.2466, allocations: 0.588 MB / 432.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.2467, allocations: 97.09 kB / 433 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2467, allocations: 0 / 433 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.2469, allocations: 29.23 kB / 433 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.2474, allocations: 75.88 kB / 433.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.2485, allocations: 1.386 MB / 434.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.2491, allocations: 83.38 kB / 434.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.2492, allocations: 20.09 kB / 434.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008279/0.25, allocations: 312.5 kB / 434.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005991/0.2507, allocations: 246.8 kB / 435.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007399/0.2514, allocations: 0.5071 MB / 435.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.2514, allocations: 4 kB / 435.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009502/0.2524, allocations: 0.561 MB / 436.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.2524, allocations: 89.11 kB / 436.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2525, allocations: 7.984 kB / 436.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.898e-05/0.2525, allocations: 20.8 kB / 436.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.2528, allocations: 80.17 kB / 436.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007015/0.2535, allocations: 1.39 MB / 437.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.254, allocations: 59.8 kB / 437.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.254, allocations: 23.94 kB / 437.8 MB, free: 15.74 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.0002795/0.2543, allocations: 282.4 kB / 438.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.2544, allocations: 47.44 kB / 438.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2557, allocations: 499.9 kB / 438.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2557, allocations: 4 kB / 438.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2557, allocations: 4 kB / 438.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2557, allocations: 3.938 kB / 438.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.2577, allocations: 1.131 MB / 439.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.2577, allocations: 7.938 kB / 439.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2581, allocations: 59.95 kB / 439.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-05/0.2582, allocations: 20.83 kB / 439.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2582, allocations: 8 kB / 439.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.2593, allocations: 1.375 MB / 441.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2594, allocations: 0 / 441.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.261, allocations: 0.7768 MB / 442 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.2612, allocations: 128.5 kB / 442.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.2613, allocations: 16 kB / 442.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.2617, allocations: 47.89 kB / 442.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2618, allocations: 27.97 kB / 442.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2618, allocations: 11.98 kB / 442.3 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005254/0.2624, allocations: 410.8 kB / 442.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2624, allocations: 0 / 442.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008871/0.2633, allocations: 274.8 kB / 442.9 MB, free: 10.34 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.001298/0.2646, allocations: 358.5 kB / 443.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.2669, allocations: 1.174 MB / 444.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.267, allocations: 0 / 444.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.2677, allocations: 430.1 kB / 444.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.2683, allocations: 97.7 kB / 445 MB, free: 8.289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.2708, allocations: 1.243 MB / 446.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.2715, allocations: 0.8894 MB / 447.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2716, allocations: 39.42 kB / 447.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2716, allocations: 0 / 447.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of Templates: time 0.01664/0.2883, allocations: 10.37 MB / 457.5 MB, free: 11.69 MB / 334.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)