Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008264/0.008264, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001953/0.001953, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09277/0.09277, allocations: 22.32 MB / 312.8 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 55.91 kB / 434.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 54.97 MB / 489.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.003624/0.1123, allocations: 1.706 MB / 491.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.114, allocations: 0.5845 MB / 492.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1141, allocations: 0 / 492.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.1146, allocations: 43.77 kB / 492.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.1148, allocations: 55.69 kB / 492.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1152, allocations: 99.81 kB / 492.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.1156, allocations: 291.5 kB / 492.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1157, allocations: 45.47 kB / 492.7 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1159, allocations: 111.6 kB / 492.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1162, allocations: 127.6 kB / 492.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.1162, allocations: 23.94 kB / 492.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.1163, allocations: 24 kB / 493 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.1164, allocations: 75.81 kB / 493 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.508e-05/0.1165, allocations: 87.53 kB / 493.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.1168, allocations: 219.2 kB / 493.3 MB, free: 3.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1168, allocations: 3.938 kB / 493.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1168, allocations: 0 / 493.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.1168, allocations: 0 / 493.3 MB, free: 3.387 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001377/0.1182, allocations: 0.5883 MB / 493.9 MB, free: 2.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1183, allocations: 8.031 kB / 493.9 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.1184, allocations: 24.8 kB / 494 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.1191, allocations: 328.6 kB / 494.3 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1191, allocations: 12.5 kB / 494.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1191, allocations: 12.38 kB / 494.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1194, allocations: 141.5 kB / 494.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1195, allocations: 0 / 494.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.1195, allocations: 4 kB / 494.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1195, allocations: 4 kB / 494.5 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1198, allocations: 119.9 kB / 494.6 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1208, allocations: 0.5824 MB / 495.2 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1211, allocations: 146.5 kB / 495.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1213, allocations: 88.95 kB / 495.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1213, allocations: 3.938 kB / 495.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1213, allocations: 30.56 kB / 495.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1213, allocations: 4 kB / 495.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005222/0.1219, allocations: 253.8 kB / 495.7 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1219, allocations: 51.41 kB / 495.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.1225, allocations: 299.1 kB / 496 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1226, allocations: 25.7 kB / 496 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.1227, allocations: 136 kB / 496.2 MB, free: 364 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.1227, allocations: 51.58 kB / 496.2 MB, free: 312 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.1228, allocations: 33.7 kB / 496.3 MB, free: 272 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1229, allocations: 334.7 kB / 496.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1231, allocations: 79.89 kB / 496.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1232, allocations: 74.34 kB / 496.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1234, allocations: 164.8 kB / 496.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1235, allocations: 0 / 496.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003256/0.1238, allocations: 224.5 kB / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1238, allocations: 8 kB / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1238, allocations: 0 / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1238, allocations: 0 / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.1242, allocations: 51.91 kB / 497.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1242, allocations: 0 / 497.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.1245, allocations: 31.95 kB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1245, allocations: 4 kB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.1246, allocations: 150.5 kB / 497.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.1247, allocations: 19.86 kB / 497.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/0.1248, allocations: 29.39 kB / 497.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1248, allocations: 0 / 497.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1248, allocations: 0 / 497.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1248, allocations: 0 / 497.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.1252, allocations: 309.4 kB / 497.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1252, allocations: 0 / 497.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.1253, allocations: 27.91 kB / 497.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1254, allocations: 4 kB / 497.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.1254, allocations: 8 kB / 497.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1254, allocations: 0 / 497.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1254, allocations: 0 / 497.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.126, allocations: 383.2 kB / 498.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.1261, allocations: 105 kB / 498.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1261, allocations: 4 kB / 498.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1264, allocations: 39.89 kB / 498.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.1265, allocations: 15.92 kB / 498.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1265, allocations: 4 kB / 498.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004805/0.127, allocations: 232.5 kB / 498.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.127, allocations: 0 / 498.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1272, allocations: 39.88 kB / 498.6 MB, free: 13.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.1274, allocations: 95.25 kB / 498.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.1277, allocations: 167.8 kB / 498.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1277, allocations: 0 / 498.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1279, allocations: 79.95 kB / 498.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1282, allocations: 31 kB / 498.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.1291, allocations: 449.6 kB / 499.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1295, allocations: 0.7397 MB / 0.4884 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1296, allocations: 41.52 kB / 0.4884 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.1297, allocations: 19.44 kB / 0.4884 GB, free: 12.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1297, allocations: 0 / 0.4884 GB, free: 12.2 MB / 382.1 MB Notification: Performance of Templates: time 0.005269/0.135, allocations: 2.075 MB / 0.4905 GB, free: 10.12 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & ./AES_AES.Devel_test_models.Test_SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)