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-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_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.001577/0.001577, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001914/0.001914, allocations: 194.6 kB / 16.14 MB, free: 6.656 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1905/0.1905, allocations: 8.029 MB / 298 MB, free: 2.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.08 kB / 359.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09125, allocations: 51.2 MB / 411.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005612/0.0969, allocations: 4.149 MB / 415.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.09938, allocations: 1.415 MB / 416.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.0999, allocations: 19.94 kB / 416.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.1005, allocations: 115.3 kB / 416.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.101, allocations: 163 kB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.1017, allocations: 343.6 kB / 417.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.1024, allocations: 0.7558 MB / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.103, allocations: 451.1 kB / 418.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1033, allocations: 278.9 kB / 418.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.1036, allocations: 334.4 kB / 419.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-05/0.1037, allocations: 52 kB / 419.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1039, allocations: 83.92 kB / 419.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1041, allocations: 167.4 kB / 419.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.1044, allocations: 358.1 kB / 419.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007524/0.1051, allocations: 0.9773 MB / 420.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1052, allocations: 4 kB / 420.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1052, allocations: 0 / 420.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1052, allocations: 0 / 420.8 MB, free: 1.914 MB / 350.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.001677/0.1069, allocations: 1.104 MB / 421.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1069, allocations: 19.95 kB / 421.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.107, allocations: 80 kB / 422 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.1076, allocations: 0.4899 MB / 422.4 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.1077, allocations: 53.25 kB / 422.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1503/0.2579, allocations: 70.36 kB / 422.6 MB, free: 45.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.2594, allocations: 0.67 MB / 423.2 MB, free: 45.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.2594, allocations: 0 / 423.2 MB, free: 45.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.2595, allocations: 31.62 kB / 423.3 MB, free: 45.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.2595, allocations: 16.47 kB / 423.3 MB, free: 45.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.2605, allocations: 489.3 kB / 423.8 MB, free: 45.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.2635, allocations: 2.581 MB / 426.3 MB, free: 43.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.2644, allocations: 427.6 kB / 426.8 MB, free: 43.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.2648, allocations: 167.6 kB / 426.9 MB, free: 43.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.2648, allocations: 8.953 kB / 426.9 MB, free: 43.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.2654, allocations: 249.5 kB / 427.2 MB, free: 43.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.2654, allocations: 1.656 kB / 427.2 MB, free: 43.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001393/0.2668, allocations: 0.6909 MB / 427.9 MB, free: 42.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2668, allocations: 138 kB / 428 MB, free: 42.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.2673, allocations: 0.5575 MB / 428.6 MB, free: 42.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2673, allocations: 40.8 kB / 428.6 MB, free: 42.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2675, allocations: 349.4 kB / 428.9 MB, free: 42.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.2676, allocations: 101.8 kB / 429 MB, free: 42.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2677, allocations: 69.56 kB / 429.1 MB, free: 42.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.2678, allocations: 363.1 kB / 429.5 MB, free: 41.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.2682, allocations: 163.6 kB / 429.6 MB, free: 41.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.2686, allocations: 253.4 kB / 429.9 MB, free: 41.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.2694, allocations: 0.535 MB / 430.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2694, allocations: 0 / 430.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00102/0.2704, allocations: 0.5966 MB / 431 MB, free: 40.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.2705, allocations: 94.41 kB / 431.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2705, allocations: 3.25 kB / 431.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.2707, allocations: 26.02 kB / 431.1 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.271, allocations: 75.73 kB / 431.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000638/0.2716, allocations: 1.289 MB / 432.5 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.272, allocations: 77.8 kB / 432.6 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.2721, allocations: 27.17 kB / 432.6 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004705/0.2726, allocations: 317.2 kB / 432.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003556/0.2729, allocations: 246.7 kB / 433.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006744/0.2736, allocations: 0.5144 MB / 433.7 MB, free: 38.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.2736, allocations: 0 / 433.7 MB, free: 38.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009063/0.2745, allocations: 0.559 MB / 434.2 MB, free: 38.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.2746, allocations: 93.88 kB / 434.3 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2746, allocations: 3.344 kB / 434.3 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-05/0.2747, allocations: 29.34 kB / 434.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.2749, allocations: 76.88 kB / 434.4 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005784/0.2755, allocations: 1.284 MB / 435.7 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.2759, allocations: 71.92 kB / 435.8 MB, free: 36.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.276, allocations: 12.59 kB / 435.8 MB, free: 36.97 MB / 350.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.0001376/0.2761, allocations: 266.4 kB / 436 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.2762, allocations: 57.66 kB / 436.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009547/0.2771, allocations: 497.6 kB / 436.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2771, allocations: 6.953 kB / 436.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2772, allocations: 0.5625 kB / 436.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2772, allocations: 4 kB / 436.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.2786, allocations: 1.145 MB / 437.7 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2786, allocations: 2.25 kB / 437.7 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.2789, allocations: 59.73 kB / 437.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.346e-05/0.279, allocations: 21.41 kB / 437.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.279, allocations: 10.31 kB / 437.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005781/0.2796, allocations: 1.282 MB / 439.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2796, allocations: 0 / 439.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2809, allocations: 0.7745 MB / 439.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.281, allocations: 130.9 kB / 440 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.2811, allocations: 10.22 kB / 440 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.2814, allocations: 44.16 kB / 440.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.2815, allocations: 33.95 kB / 440.1 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2816, allocations: 12 kB / 440.1 MB, free: 33.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003658/0.2819, allocations: 408.6 kB / 440.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2819, allocations: 0 / 440.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000697/0.2826, allocations: 276.9 kB / 440.8 MB, free: 33.62 MB / 350.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.0007855/0.2834, allocations: 375.7 kB / 441.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.285, allocations: 1.158 MB / 442.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2851, allocations: 4.062 kB / 442.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.2856, allocations: 425.9 kB / 442.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.2861, allocations: 86.67 kB / 442.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.2879, allocations: 1.459 MB / 444.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2881, allocations: 0.9044 MB / 445.2 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.2884, allocations: 60.59 kB / 445.2 MB, free: 30.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.2885, allocations: 35.64 kB / 445.3 MB, free: 30.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2885, allocations: 0 / 445.3 MB, free: 30.68 MB / 350.1 MB Notification: Performance of Templates: time 0.009879/0.2984, allocations: 6.516 MB / 451.8 MB, free: 30.12 MB / 350.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)