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.001013/0.001013, allocations: 109.8 kB / 16.41 MB, free: 6.387 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.0009878/0.0009878, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04089/0.04089, allocations: 8.356 MB / 299.6 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.09 kB / 414.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07425/0.07548, allocations: 51.26 MB / 465.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.00511/0.08062, allocations: 4.141 MB / 469.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.08275, allocations: 1.418 MB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.08298, allocations: 19.94 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.08337, allocations: 146.8 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.08384, allocations: 206.5 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.0845, allocations: 389.8 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.08525, allocations: 0.8534 MB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006082/0.08587, allocations: 499.5 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.08618, allocations: 326.9 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.08654, allocations: 362.4 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.08665, allocations: 96 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.08682, allocations: 120 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.08703, allocations: 211.3 kB / 474.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.08735, allocations: 410 kB / 474.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009506/0.08831, allocations: 1.043 MB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.08833, allocations: 4 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08833, allocations: 0 / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.08835, allocations: 0 / 475.7 MB, free: 8.34 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.001703/0.09006, allocations: 1.134 MB / 476.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.0901, allocations: 8.031 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.09024, allocations: 92.34 kB / 476.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.09092, allocations: 0.5097 MB / 477.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.09098, allocations: 57.25 kB / 477.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.09108, allocations: 64 kB / 477.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.09228, allocations: 0.6683 MB / 478.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.09232, allocations: 7.875 kB / 478.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.09239, allocations: 32 kB / 478.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.09241, allocations: 16 kB / 478.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.09357, allocations: 484.9 kB / 478.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.09705, allocations: 2.564 MB / 481.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.09803, allocations: 428.1 kB / 481.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.09847, allocations: 173 kB / 481.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.09851, allocations: 4.234 kB / 481.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.09907, allocations: 253.6 kB / 482.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.09909, allocations: 0 / 482.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001604/0.1007, allocations: 0.6936 MB / 482.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.1008, allocations: 132.5 kB / 482.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.1014, allocations: 0.5567 MB / 483.5 MB, free: 116 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.1014, allocations: 33.7 kB / 483.5 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.1017, allocations: 348.7 kB / 483.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1018, allocations: 111 kB / 484 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1019, allocations: 77.64 kB / 484.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.102, allocations: 362.8 kB / 484.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.1025, allocations: 165.1 kB / 484.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.103, allocations: 254.5 kB / 484.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008983/0.1039, allocations: 0.5348 MB / 485.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1039, allocations: 0 / 485.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001193/0.1051, allocations: 0.5884 MB / 485.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.1052, allocations: 95.44 kB / 486 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1052, allocations: 4 kB / 486 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.1053, allocations: 29.22 kB / 486.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.1057, allocations: 79.83 kB / 486.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/0.1067, allocations: 1.386 MB / 487.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.1071, allocations: 75.66 kB / 487.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.1071, allocations: 19.94 kB / 487.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005522/0.1077, allocations: 320.6 kB / 487.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004225/0.1081, allocations: 242.9 kB / 488.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008281/0.109, allocations: 0.5187 MB / 488.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.109, allocations: 96 / 488.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001062/0.1101, allocations: 0.573 MB / 489.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.1101, allocations: 97.09 kB / 489.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.1101, allocations: 0 / 489.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-05/0.1102, allocations: 20.86 kB / 489.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.1105, allocations: 79.81 kB / 489.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008344/0.1114, allocations: 1.375 MB / 490.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.1118, allocations: 67.95 kB / 490.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1118, allocations: 16 kB / 490.9 MB, free: 8.055 MB / 366.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.0001867/0.112, allocations: 276.3 kB / 491.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.1121, allocations: 55.67 kB / 491.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1132, allocations: 496 kB / 491.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1132, allocations: 0 / 491.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1132, allocations: 4 kB / 491.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1133, allocations: 136.6 kB / 491.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.1134, allocations: 11.94 kB / 491.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.1138, allocations: 47.94 kB / 491.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.1139, allocations: 27.97 kB / 491.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.1152, allocations: 0.6637 MB / 492.6 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001468/0.1167, allocations: 0.8335 MB / 493.4 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004374/0.1172, allocations: 188.4 kB / 493.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000417/0.1176, allocations: 402.8 kB / 494 MB, free: 4.812 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.1176, allocations: 4 kB / 494 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.1202, allocations: 1.418 MB / 495.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of SimCode: time 0.00192/0.1221, allocations: 1.745 MB / 497.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of Templates: time 0.01363/0.1358, allocations: 8.655 MB / 0.494 GB, free: 9.012 MB / 382.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)