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.007428/0.007428, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001641/0.001641, allocations: 187.6 kB / 16.67 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1463/0.1463, allocations: 8.028 MB / 298.6 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 413.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2923, allocations: 51.19 MB / 464.2 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004832/0.2972, allocations: 4.135 MB / 468.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2991, allocations: 1.428 MB / 469.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.2994, allocations: 15.81 kB / 469.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.2998, allocations: 156 kB / 470 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.3002, allocations: 206.5 kB / 470.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.3008, allocations: 383.9 kB / 470.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.3016, allocations: 0.8521 MB / 471.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006239/0.3022, allocations: 485.4 kB / 471.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.3025, allocations: 330.3 kB / 472.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.3029, allocations: 360.5 kB / 472.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.303, allocations: 96.53 kB / 472.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.3032, allocations: 119.9 kB / 472.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.3034, allocations: 209.9 kB / 473 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.3037, allocations: 404.3 kB / 473.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.3048, allocations: 1.05 MB / 474.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3048, allocations: 0 / 474.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3048, allocations: 0 / 474.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3048, allocations: 0 / 474.4 MB, free: 12.03 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.001584/0.3064, allocations: 1.141 MB / 475.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3064, allocations: 10.09 kB / 475.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.3066, allocations: 85.48 kB / 475.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.3072, allocations: 0.5069 MB / 476.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.3072, allocations: 52.75 kB / 476.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.3073, allocations: 74.12 kB / 476.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.3085, allocations: 0.6621 MB / 476.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.3085, allocations: 5.891 kB / 477 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.3086, allocations: 35.08 kB / 477 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3086, allocations: 15.06 kB / 477 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3098, allocations: 490.8 kB / 477.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.3128, allocations: 2.559 MB / 480 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.3137, allocations: 428.5 kB / 480.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.3141, allocations: 170.3 kB / 480.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.3142, allocations: 11.16 kB / 480.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.3147, allocations: 258.8 kB / 480.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.3147, allocations: 1.25 kB / 480.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001478/0.3162, allocations: 0.6837 MB / 481.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3162, allocations: 141.5 kB / 481.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.3168, allocations: 0.5544 MB / 482.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3169, allocations: 34.14 kB / 482.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.3171, allocations: 352.7 kB / 482.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.3171, allocations: 109.7 kB / 482.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3173, allocations: 76.92 kB / 482.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.3173, allocations: 359.9 kB / 483.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.3177, allocations: 163.5 kB / 483.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.3182, allocations: 262.1 kB / 483.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007909/0.319, allocations: 0.5332 MB / 484.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.319, allocations: 1.156 kB / 484.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001076/0.3201, allocations: 0.591 MB / 484.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.3201, allocations: 92.92 kB / 484.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.3201, allocations: 6.969 kB / 484.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.3203, allocations: 21.84 kB / 484.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.3206, allocations: 90.59 kB / 484.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006978/0.3213, allocations: 1.381 MB / 486.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.3217, allocations: 77.66 kB / 486.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.3217, allocations: 21.98 kB / 486.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004828/0.3222, allocations: 316.1 kB / 486.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003392/0.3226, allocations: 239.3 kB / 486.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006684/0.3232, allocations: 0.5117 MB / 487.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.3233, allocations: 5.25 kB / 487.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009334/0.3242, allocations: 0.5749 MB / 488 MB, free: 2.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.3242, allocations: 86.73 kB / 488.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3242, allocations: 2.75 kB / 488.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-05/0.3243, allocations: 29.16 kB / 488.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3246, allocations: 76.27 kB / 488.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005936/0.3252, allocations: 1.384 MB / 489.6 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.3256, allocations: 66.61 kB / 489.7 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3256, allocations: 14.28 kB / 489.7 MB, free: 416 kB / 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.0001628/0.3258, allocations: 279.7 kB / 490 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.3259, allocations: 54.2 kB / 490 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.327, allocations: 499.2 kB / 490.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.327, allocations: 2.562 kB / 490.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.327, allocations: 5.375 kB / 490.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.327, allocations: 3.938 kB / 490.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.3287, allocations: 1.14 MB / 491.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3287, allocations: 3.938 kB / 491.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.329, allocations: 57.14 kB / 491.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-05/0.3291, allocations: 18.48 kB / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.3291, allocations: 16.11 kB / 491.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008758/0.33, allocations: 1.374 MB / 493.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.33, allocations: 5.5 kB / 493.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.3315, allocations: 0.7695 MB / 493.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3316, allocations: 137.7 kB / 494 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.3317, allocations: 9.375 kB / 494 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.332, allocations: 44.83 kB / 494.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3321, allocations: 31.69 kB / 494.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3322, allocations: 16.02 kB / 494.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004664/0.3327, allocations: 402.2 kB / 494.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3327, allocations: 1.219 kB / 494.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008224/0.3335, allocations: 277.2 kB / 494.8 MB, free: 12.44 MB / 366.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.0008567/0.3344, allocations: 368.4 kB / 495.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.3362, allocations: 1.164 MB / 496.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3363, allocations: 0.8125 kB / 496.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.3369, allocations: 427.4 kB / 496.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.3374, allocations: 87.92 kB / 496.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.3397, allocations: 1.218 MB / 498 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.3402, allocations: 0.8981 MB / 498.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.3404, allocations: 66.27 kB / 499 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.3405, allocations: 34.69 kB / 499 MB, free: 9.34 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3405, allocations: 4 kB / 499 MB, free: 9.336 MB / 366.1 MB Notification: Performance of Templates: time 0.01208/0.3526, allocations: 7.09 MB / 0.4943 GB, free: 2.375 MB / 366.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)