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.006711/0.006712, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001282/0.001282, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.212/0.212, allocations: 22.36 MB / 312.9 MB, free: 12.37 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.78 kB / 435 MB, free: 35.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1243, allocations: 54.95 MB / 489.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002354/0.1267, allocations: 1.721 MB / 491.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.1276, allocations: 0.5806 MB / 492.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.1277, allocations: 4 kB / 492.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.128, allocations: 39.72 kB / 492.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1282, allocations: 59.75 kB / 492.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1285, allocations: 95.81 kB / 492.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1287, allocations: 295.5 kB / 492.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1288, allocations: 41.55 kB / 492.7 MB, free: 480 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.129, allocations: 111.7 kB / 492.8 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1292, allocations: 135.5 kB / 493 MB, free: 232 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1292, allocations: 20 kB / 493 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.634e-05/0.1292, allocations: 20 kB / 493 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.1293, allocations: 79.86 kB / 493.1 MB, free: 112 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.649e-05/0.1294, allocations: 87.45 kB / 493.2 MB, free: 24 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.1297, allocations: 215.3 kB / 493.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1297, allocations: 4 kB / 493.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1297, allocations: 0 / 493.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1297, allocations: 0 / 493.4 MB, free: 15.81 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.001279/0.131, allocations: 0.5767 MB / 494 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.131, allocations: 8.031 kB / 494 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.1311, allocations: 24.69 kB / 494 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.1317, allocations: 344.2 kB / 494.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1318, allocations: 4.562 kB / 494.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1318, allocations: 12.38 kB / 494.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1321, allocations: 142.9 kB / 494.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1321, allocations: 0 / 494.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1321, allocations: 4 kB / 494.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1321, allocations: 0 / 494.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1324, allocations: 131.9 kB / 494.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.1333, allocations: 0.5707 MB / 495.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1336, allocations: 158.4 kB / 495.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1338, allocations: 76.81 kB / 495.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1338, allocations: 4 kB / 495.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1338, allocations: 30.56 kB / 495.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1338, allocations: 0 / 495.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004915/0.1343, allocations: 253.9 kB / 495.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1344, allocations: 63.33 kB / 495.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.135, allocations: 287.1 kB / 496.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.135, allocations: 33.7 kB / 496.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.1352, allocations: 128 kB / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.1352, allocations: 47.34 kB / 496.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.1353, allocations: 37.64 kB / 496.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1354, allocations: 342.8 kB / 496.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1356, allocations: 63.97 kB / 496.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1357, allocations: 75.95 kB / 496.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.136, allocations: 167 kB / 496.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.136, allocations: 0 / 496.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003276/0.1363, allocations: 221.3 kB / 497.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1363, allocations: 4 kB / 497.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1364, allocations: 4 kB / 497.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1364, allocations: 0 / 497.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.1367, allocations: 47.97 kB / 497.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1368, allocations: 7.984 kB / 497.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.137, allocations: 27.88 kB / 497.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.137, allocations: 4 kB / 497.2 MB, free: 11.74 MB / 366.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.0001356/0.1372, allocations: 150.4 kB / 497.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.1372, allocations: 19.75 kB / 497.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.1373, allocations: 33.39 kB / 497.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1373, allocations: 4 kB / 497.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1373, allocations: 4 kB / 497.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1373, allocations: 0 / 497.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.1376, allocations: 305.3 kB / 497.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1376, allocations: 3.938 kB / 497.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.1378, allocations: 27.97 kB / 497.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1378, allocations: 0 / 497.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1379, allocations: 8 kB / 497.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1379, allocations: 0 / 497.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1379, allocations: 0 / 497.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1384, allocations: 383.1 kB / 498.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.1385, allocations: 104.9 kB / 498.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.1385, allocations: 8 kB / 498.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.1388, allocations: 27.95 kB / 498.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.1389, allocations: 11.98 kB / 498.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1389, allocations: 4 kB / 498.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.1394, allocations: 232.5 kB / 498.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1394, allocations: 0 / 498.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1397, allocations: 35.94 kB / 498.6 MB, free: 10.31 MB / 366.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.0001193/0.1398, allocations: 99.23 kB / 498.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1401, allocations: 163.8 kB / 498.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1401, allocations: 4 kB / 498.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1403, allocations: 83.89 kB / 498.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1407, allocations: 28.72 kB / 498.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.1415, allocations: 446.3 kB / 499.4 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1418, allocations: 0.7475 MB / 0.4884 GB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1419, allocations: 37.52 kB / 0.4884 GB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.1419, allocations: 19.44 kB / 0.4885 GB, free: 8.637 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.142, allocations: 4 kB / 0.4885 GB, free: 8.633 MB / 366.1 MB Notification: Performance of Templates: time 0.005126/0.1471, allocations: 2.094 MB / 0.4905 GB, free: 6.547 MB / 366.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)