Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008995, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009202/0.0009202, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1523/0.1523, allocations: 8.612 MB / 299.6 MB, free: 3.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004364, allocations: 15.92 kB / 362.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 52.32 MB / 414.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004782/0.1172, allocations: 3.389 MB / 418.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.12, allocations: 1.326 MB / 419.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.1205, allocations: 12 kB / 419.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1209, allocations: 111.3 kB / 419.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.1215, allocations: 191.4 kB / 419.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.1222, allocations: 255.2 kB / 420 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.1228, allocations: 498.9 kB / 420.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.1233, allocations: 319.9 kB / 420.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1236, allocations: 223.1 kB / 421 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.1239, allocations: 258.8 kB / 421.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.124, allocations: 32 kB / 421.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1242, allocations: 51.97 kB / 421.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1243, allocations: 135.5 kB / 421.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1245, allocations: 157.3 kB / 421.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.1252, allocations: 0.7753 MB / 422.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1253, allocations: 0 / 422.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1253, allocations: 0 / 422.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1253, allocations: 0 / 422.4 MB, free: 1.465 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001762/0.1271, allocations: 1.001 MB / 423.4 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1271, allocations: 8.031 kB / 423.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1273, allocations: 79.06 kB / 423.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2116/0.3388, allocations: 488.3 kB / 424 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/0.3389, allocations: 45.59 kB / 424 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3391, allocations: 69.84 kB / 424.1 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.3403, allocations: 0.6554 MB / 424.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.3404, allocations: 4.25 kB / 424.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.3404, allocations: 28.08 kB / 424.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3405, allocations: 14.97 kB / 424.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.3415, allocations: 0.5031 MB / 425.3 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.3447, allocations: 2.539 MB / 427.8 MB, free: 40.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.3457, allocations: 448.9 kB / 428.3 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.3457, allocations: 6.875 kB / 428.3 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005851/0.3463, allocations: 265.5 kB / 428.5 MB, free: 39.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.3463, allocations: 0 / 428.5 MB, free: 39.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001606/0.3479, allocations: 0.8149 MB / 429.4 MB, free: 39.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.348, allocations: 135.9 kB / 429.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.3486, allocations: 0.5584 MB / 430.1 MB, free: 39.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.3486, allocations: 33.8 kB / 430.1 MB, free: 39.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.3489, allocations: 344.4 kB / 430.4 MB, free: 39.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.3489, allocations: 108 kB / 430.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.349, allocations: 9.688 kB / 430.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.3491, allocations: 365.1 kB / 430.9 MB, free: 38.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.3494, allocations: 162 kB / 431.1 MB, free: 38.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.3498, allocations: 276.4 kB / 431.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.3503, allocations: 264.9 kB / 431.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3503, allocations: 5.656 kB / 431.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001149/0.3514, allocations: 0.6149 MB / 432.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.3517, allocations: 1.219 MB / 433.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3518, allocations: 11.36 kB / 433.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3519, allocations: 25.88 kB / 433.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.3523, allocations: 83.89 kB / 433.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000768/0.353, allocations: 1.292 MB / 434.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.3535, allocations: 93.08 kB / 434.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.3535, allocations: 15.56 kB / 434.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.3535, allocations: 8.656 kB / 434.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009267/0.3544, allocations: 0.5389 MB / 435.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3545, allocations: 3.25 kB / 435.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-05/0.3545, allocations: 25.62 kB / 435.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.3549, allocations: 85.47 kB / 435.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005725/0.3554, allocations: 1.3 MB / 436.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.3558, allocations: 80.36 kB / 437 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3559, allocations: 12.88 kB / 437 MB, free: 34.23 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 ($whenCondition1,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlange.limTau.state,oneFlange.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003396/0.3562, allocations: 367.1 kB / 437.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.3563, allocations: 48.5 kB / 437.4 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009578/0.3572, allocations: 0.5199 MB / 437.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3573, allocations: 3.188 kB / 437.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3573, allocations: 0 / 437.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3573, allocations: 4.938 kB / 437.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3587, allocations: 1.171 MB / 439.1 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3588, allocations: 0 / 439.1 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3591, allocations: 70.53 kB / 439.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.3592, allocations: 21.89 kB / 439.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.3592, allocations: 10.67 kB / 439.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005776/0.3598, allocations: 1.284 MB / 440.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3598, allocations: 0 / 440.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3611, allocations: 0.8067 MB / 441.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3612, allocations: 142.8 kB / 441.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.3613, allocations: 14.28 kB / 441.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.3617, allocations: 52.95 kB / 441.5 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3618, allocations: 34.44 kB / 441.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3618, allocations: 10.47 kB / 441.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.3622, allocations: 406.9 kB / 441.9 MB, free: 30.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3622, allocations: 6.266 kB / 441.9 MB, free: 30.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007604/0.363, allocations: 269.9 kB / 442.2 MB, free: 30.8 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007954/0.3638, allocations: 364.5 kB / 442.6 MB, free: 30.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.3655, allocations: 1.21 MB / 443.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3655, allocations: 4.156 kB / 443.8 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.3661, allocations: 441.3 kB / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3665, allocations: 72.58 kB / 444.3 MB, free: 29.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3683, allocations: 1.432 MB / 445.7 MB, free: 28.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3687, allocations: 0.9072 MB / 446.6 MB, free: 27.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.3689, allocations: 63.02 kB / 446.7 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.369, allocations: 35.75 kB / 446.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.369, allocations: 0 / 446.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01036/0.3793, allocations: 6.297 MB / 453 MB, free: 27.37 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)