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.001311/0.001311, allocations: 105.5 kB / 15.98 MB, free: 6.344 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.001238/0.001238, allocations: 195.5 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04145/0.04145, allocations: 8.037 MB / 298.8 MB, free: 6.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.91 kB / 360.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2097, allocations: 51.19 MB / 412 MB, free: 26.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004252/0.214, allocations: 4.136 MB / 416.1 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.216, allocations: 1.399 MB / 417.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.2163, allocations: 12 kB / 417.5 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.2166, allocations: 119.3 kB / 417.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.2171, allocations: 167 kB / 417.8 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.2177, allocations: 350.8 kB / 418.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.2182, allocations: 0.8301 MB / 419 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.2187, allocations: 0.4898 MB / 419.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.2189, allocations: 326.8 kB / 419.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.2192, allocations: 358.5 kB / 420.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.2193, allocations: 96 kB / 420.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.2194, allocations: 131.9 kB / 420.4 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2196, allocations: 207.4 kB / 420.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.2198, allocations: 406.1 kB / 421 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.2204, allocations: 0.8225 MB / 421.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2204, allocations: 0 / 421.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2204, allocations: 0 / 421.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2204, allocations: 0 / 421.8 MB, free: 16.5 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.00146/0.2219, allocations: 1.112 MB / 422.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2219, allocations: 12.03 kB / 422.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.222, allocations: 87.92 kB / 423 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.2225, allocations: 0.4976 MB / 423.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.2226, allocations: 57.25 kB / 423.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.2226, allocations: 71.91 kB / 423.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2237, allocations: 0.6683 MB / 424.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.2237, allocations: 0 / 424.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.2238, allocations: 31.94 kB / 424.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2238, allocations: 16 kB / 424.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.2247, allocations: 493 kB / 424.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.2276, allocations: 2.579 MB / 427.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/0.2284, allocations: 428.9 kB / 427.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.2287, allocations: 177 kB / 428 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.2288, allocations: 240 / 428 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.2293, allocations: 257.2 kB / 428.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.2293, allocations: 0 / 428.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001332/0.2307, allocations: 0.686 MB / 428.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2307, allocations: 148.5 kB / 429.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.2312, allocations: 0.5488 MB / 429.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2312, allocations: 33.7 kB / 429.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.2314, allocations: 348 kB / 430 MB, free: 7.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.2315, allocations: 102.5 kB / 430.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2316, allocations: 77.69 kB / 430.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.2317, allocations: 358.8 kB / 430.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.2321, allocations: 161.2 kB / 430.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.2325, allocations: 262.5 kB / 430.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.2333, allocations: 0.5309 MB / 431.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2333, allocations: 0 / 431.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001037/0.2344, allocations: 0.5959 MB / 432.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.2344, allocations: 85.11 kB / 432.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2344, allocations: 4 kB / 432.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.2346, allocations: 29.19 kB / 432.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.2349, allocations: 87.81 kB / 432.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007147/0.2356, allocations: 1.386 MB / 433.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.2361, allocations: 79.39 kB / 433.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2361, allocations: 20.08 kB / 433.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005012/0.2366, allocations: 316.5 kB / 434.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003306/0.2369, allocations: 246.9 kB / 434.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006147/0.2376, allocations: 0.511 MB / 434.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.2376, allocations: 96 / 434.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008645/0.2384, allocations: 0.5688 MB / 435.4 MB, free: 2.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.2385, allocations: 85.11 kB / 435.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2385, allocations: 4 kB / 435.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.122e-05/0.2386, allocations: 28.78 kB / 435.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2388, allocations: 75.89 kB / 435.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005626/0.2394, allocations: 1.387 MB / 437 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.2398, allocations: 55.7 kB / 437 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2398, allocations: 20 kB / 437 MB, free: 232 kB / 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 (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.0001987/0.24, allocations: 273 kB / 437.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.2401, allocations: 55.42 kB / 437.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.2413, allocations: 490.7 kB / 437.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2413, allocations: 3.984 kB / 437.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2414, allocations: 8 kB / 437.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2414, allocations: 7.875 kB / 437.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.2433, allocations: 1.136 MB / 439 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2433, allocations: 3.938 kB / 439 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.2436, allocations: 59.89 kB / 439 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.28e-05/0.2437, allocations: 20.86 kB / 439.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.2437, allocations: 11.98 kB / 439.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.2449, allocations: 1.371 MB / 440.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2449, allocations: 0 / 440.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.2465, allocations: 0.769 MB / 441.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.2466, allocations: 136.5 kB / 441.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.2467, allocations: 11.98 kB / 441.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.2471, allocations: 43.89 kB / 441.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.2472, allocations: 31.97 kB / 441.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.2472, allocations: 12 kB / 441.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005155/0.2478, allocations: 406.8 kB / 441.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2478, allocations: 4 kB / 441.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008311/0.2486, allocations: 270.8 kB / 442.1 MB, free: 10.83 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.001294/0.2499, allocations: 380 kB / 442.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.2521, allocations: 1.166 MB / 443.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2521, allocations: 4 kB / 443.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.2529, allocations: 431.3 kB / 444.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.2535, allocations: 87.27 kB / 444.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.256, allocations: 1.489 MB / 445.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.2568, allocations: 0.8933 MB / 446.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.257, allocations: 39.44 kB / 446.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.257, allocations: 0 / 446.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of Templates: time 0.0159/0.2729, allocations: 10.37 MB / 457 MB, free: 11.93 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)