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.008293/0.008293, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.001337/0.001336, allocations: 200 kB / 16.68 MB, free: 5.922 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.381/1.381, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09024/0.09024, allocations: 22.34 MB / 312.8 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 71.88 kB / 437 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 54.95 MB / 492 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002174/0.1336, allocations: 0.7163 MB / 492.7 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.1338, allocations: 23.92 kB / 492.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.1339, allocations: 4 kB / 492.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.1339, allocations: 3.938 kB / 492.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.134, allocations: 0 / 492.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.961e-05/0.1341, allocations: 3.984 kB / 492.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.1342, allocations: 31.84 kB / 492.8 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1343, allocations: 4 kB / 492.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.1343, allocations: 12 kB / 492.8 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.1344, allocations: 11.92 kB / 492.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1344, allocations: 4 kB / 492.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.1345, allocations: 0 / 492.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.1345, allocations: 4 kB / 492.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1345, allocations: 15.91 kB / 492.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.402e-05/0.1346, allocations: 15.92 kB / 492.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1346, allocations: 0 / 492.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1346, allocations: 0 / 492.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1346, allocations: 0 / 492.8 MB, free: 3.918 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004131/0.135, allocations: 335.4 kB / 493.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1351, allocations: 12.03 kB / 493.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1351, allocations: 0.9375 kB / 493.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1353, allocations: 168.4 kB / 493.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1353, allocations: 8.312 kB / 493.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1353, allocations: 384 / 493.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.344e-05/0.1354, allocations: 42.25 kB / 493.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1354, allocations: 192 / 493.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1354, allocations: 3.938 kB / 493.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1354, allocations: 0 / 493.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.1355, allocations: 16 kB / 493.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.1359, allocations: 249 kB / 493.6 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.136, allocations: 46.44 kB / 493.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.136, allocations: 12.92 kB / 493.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.136, allocations: 0 / 493.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1361, allocations: 38.56 kB / 493.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.1361, allocations: 0 / 493.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001653/0.1363, allocations: 53.53 kB / 493.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1363, allocations: 63.34 kB / 493.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.1364, allocations: 98.03 kB / 494 MB, free: 2.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1364, allocations: 25.7 kB / 494 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1364, allocations: 84.14 kB / 494.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1365, allocations: 11.89 kB / 494.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1365, allocations: 17.7 kB / 494.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1366, allocations: 318.8 kB / 494.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.1366, allocations: 0 / 494.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.1367, allocations: 8.188 kB / 494.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.1367, allocations: 32.86 kB / 494.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1367, allocations: 0 / 494.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.988e-05/0.1368, allocations: 53.58 kB / 494.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1368, allocations: 7.984 kB / 494.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1368, allocations: 0 / 494.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1368, allocations: 4 kB / 494.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.1369, allocations: 4 kB / 494.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1369, allocations: 4 kB / 494.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.137, allocations: 0 / 494.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.137, allocations: 0 / 494.5 MB, free: 2.008 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 7.929e-05/0.137, allocations: 118.5 kB / 494.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1371, allocations: 7.906 kB / 494.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.1373, allocations: 77.11 kB / 494.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1373, allocations: 0 / 494.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1373, allocations: 0 / 494.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1373, allocations: 4 kB / 494.7 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1374, allocations: 165.5 kB / 494.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1375, allocations: 0 / 494.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.1375, allocations: 12 kB / 494.9 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1375, allocations: 0 / 494.9 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1375, allocations: 4 kB / 494.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1375, allocations: 3.984 kB / 494.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1375, allocations: 4 kB / 494.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1377, allocations: 151.5 kB / 495 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.1377, allocations: 81.02 kB / 495.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1378, allocations: 4 kB / 495.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1378, allocations: 0 / 495.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.1378, allocations: 4 kB / 495.1 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1378, allocations: 0 / 495.1 MB, free: 1.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.1379, allocations: 91.27 kB / 495.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1379, allocations: 3.938 kB / 495.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.1381, allocations: 4 kB / 495.2 MB, free: 1.184 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 9.936e-05/0.1382, allocations: 95.19 kB / 495.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.805e-05/0.1383, allocations: 24.11 kB / 495.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1383, allocations: 0 / 495.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.1384, allocations: 16 kB / 495.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1387, allocations: 23.8 kB / 495.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.139, allocations: 108.9 kB / 495.5 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1392, allocations: 0.6768 MB / 496.2 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.1392, allocations: 4 kB / 496.2 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1393, allocations: 19.42 kB / 496.2 MB, free: 164 kB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1393, allocations: 0 / 496.2 MB, free: 164 kB / 366.1 MB Notification: Performance of Templates: time 0.002726/0.142, allocations: 460.5 kB / 496.6 MB, free: 15.71 MB / 382.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)