Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004577/0.004581, allocations: 101.5 kB / 15.73 MB, free: 6.051 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.001121/0.001121, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2431/0.2431, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 66.23 kB / 437.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 54.96 MB / 492 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001861/0.1244, allocations: 0.7164 MB / 492.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001763/0.1246, allocations: 19.98 kB / 492.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.1246, allocations: 0 / 492.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.1247, allocations: 7.938 kB / 492.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.1248, allocations: 3.984 kB / 492.8 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.266e-05/0.1249, allocations: 8 kB / 492.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.1249, allocations: 19.92 kB / 492.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1251, allocations: 12 kB / 492.8 MB, free: 436 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.1251, allocations: 11.92 kB / 492.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.1252, allocations: 11.98 kB / 492.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1252, allocations: 0 / 492.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.1252, allocations: 4 kB / 492.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1252, allocations: 3.938 kB / 492.8 MB, free: 404 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.1253, allocations: 11.98 kB / 492.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.958e-05/0.1253, allocations: 19.91 kB / 492.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1254, allocations: 3.938 kB / 492.9 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1254, allocations: 0 / 492.9 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1254, allocations: 0 / 492.9 MB, free: 368 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003658/0.1257, allocations: 327.7 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1258, allocations: 8.031 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1258, allocations: 8.844 kB / 493.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.126, allocations: 164.4 kB / 493.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.126, allocations: 4.375 kB / 493.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.126, allocations: 4.359 kB / 493.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.1261, allocations: 42.25 kB / 493.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1261, allocations: 192 / 493.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1261, allocations: 11.94 kB / 493.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1262, allocations: 0 / 493.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.1262, allocations: 15.92 kB / 493.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1266, allocations: 249 kB / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1267, allocations: 42.44 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.1267, allocations: 12.92 kB / 493.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1267, allocations: 4 kB / 493.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1268, allocations: 34.56 kB / 493.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1268, allocations: 0 / 493.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001733/0.127, allocations: 53.62 kB / 493.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.127, allocations: 59.39 kB / 493.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.1271, allocations: 97.86 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1271, allocations: 25.7 kB / 494 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.1272, allocations: 91.92 kB / 494.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1272, allocations: 11.91 kB / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1273, allocations: 17.7 kB / 494.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1274, allocations: 314.8 kB / 494.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.1274, allocations: 4 kB / 494.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.1274, allocations: 4 kB / 494.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.1275, allocations: 28.78 kB / 494.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1275, allocations: 0 / 494.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.999e-05/0.1276, allocations: 53.62 kB / 494.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1276, allocations: 8 kB / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1276, allocations: 0 / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1276, allocations: 0 / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.1277, allocations: 4.516 kB / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1277, allocations: 0 / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.1277, allocations: 4 kB / 494.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1277, allocations: 0 / 494.6 MB, free: 14.46 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 (3): * Single equations (assignments): 3 * 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 8.026e-05/0.1278, allocations: 114.5 kB / 494.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1279, allocations: 11.98 kB / 494.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.128, allocations: 77.03 kB / 494.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.128, allocations: 3.984 kB / 494.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1281, allocations: 0 / 494.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1281, allocations: 3.984 kB / 494.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1282, allocations: 169.5 kB / 494.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1282, allocations: 0 / 494.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.1283, allocations: 11.98 kB / 494.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1283, allocations: 0 / 494.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1283, allocations: 4 kB / 494.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1283, allocations: 7.938 kB / 494.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1283, allocations: 0 / 494.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1285, allocations: 155.4 kB / 495.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1285, allocations: 81.11 kB / 495.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1285, allocations: 0 / 495.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.1286, allocations: 0 / 495.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.1286, allocations: 7.984 kB / 495.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1286, allocations: 8 kB / 495.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.1287, allocations: 79.28 kB / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1287, allocations: 0 / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1289, allocations: 7.938 kB / 495.3 MB, free: 13.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001322/0.1291, allocations: 95.25 kB / 495.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1292, allocations: 19.98 kB / 495.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1292, allocations: 0 / 495.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.1292, allocations: 19.94 kB / 495.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1295, allocations: 22.25 kB / 495.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.1298, allocations: 108.8 kB / 495.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1301, allocations: 0.6768 MB / 496.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1301, allocations: 3.984 kB / 496.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.1302, allocations: 11.44 kB / 496.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1302, allocations: 4 kB / 496.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.002462/0.1327, allocations: 454.3 kB / 496.7 MB, free: 12.17 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)