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.001213/0.001213, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001075/0.001075, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09041/0.09041, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 61.45 kB / 382.2 MB, free: 41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 54.97 MB / 437.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001999/0.1064, allocations: 0.7038 MB / 437.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001517/0.1066, allocations: 27.91 kB / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.1066, allocations: 0 / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.1067, allocations: 0 / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.1067, allocations: 3.938 kB / 437.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.555e-05/0.1068, allocations: 4 kB / 437.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.073e-05/0.1069, allocations: 27.86 kB / 438 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.107, allocations: 11.98 kB / 438 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.107, allocations: 4 kB / 438 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.1071, allocations: 19.91 kB / 438 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1071, allocations: 4 kB / 438 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.1071, allocations: 0 / 438 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.1072, allocations: 0 / 438 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1072, allocations: 15.88 kB / 438 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.1073, allocations: 15.97 kB / 438 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1073, allocations: 0 / 438 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1073, allocations: 7.938 kB / 438 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1073, allocations: 0 / 438 MB, free: 11.43 MB / 318.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.0003908/0.1077, allocations: 327.5 kB / 438.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1077, allocations: 12.03 kB / 438.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.1078, allocations: 4.938 kB / 438.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1079, allocations: 168.3 kB / 438.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.108, allocations: 384 / 438.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.108, allocations: 384 / 438.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.1081, allocations: 42.25 kB / 438.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1081, allocations: 4.188 kB / 438.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1081, allocations: 3.938 kB / 438.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1081, allocations: 0 / 438.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.1082, allocations: 19.92 kB / 438.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1085, allocations: 260.9 kB / 438.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.1086, allocations: 34.52 kB / 438.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.1087, allocations: 20.91 kB / 438.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1087, allocations: 4 kB / 438.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1087, allocations: 38.48 kB / 439 MB, free: 10.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1087, allocations: 0 / 439 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001657/0.1089, allocations: 53.69 kB / 439 MB, free: 10.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1089, allocations: 51.41 kB / 439.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.109, allocations: 97.86 kB / 439.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.109, allocations: 25.7 kB / 439.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.1091, allocations: 88.12 kB / 439.3 MB, free: 10 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1091, allocations: 7.906 kB / 439.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.1091, allocations: 17.72 kB / 439.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.1092, allocations: 310.8 kB / 439.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.1093, allocations: 11.98 kB / 439.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.1093, allocations: 4 kB / 439.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.1093, allocations: 20.8 kB / 439.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1093, allocations: 0 / 439.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.285e-05/0.1094, allocations: 57.62 kB / 439.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1094, allocations: 7.938 kB / 439.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1094, allocations: 0 / 439.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1095, allocations: 4 kB / 439.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.1095, allocations: 4 kB / 439.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1095, allocations: 7.922 kB / 439.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.1096, allocations: 3.906 kB / 439.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1096, allocations: 0 / 439.7 MB, free: 9.527 MB / 318.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.4e-05/0.1097, allocations: 118.5 kB / 439.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1097, allocations: 4 kB / 439.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.1098, allocations: 77.05 kB / 439.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.1099, allocations: 4 kB / 439.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1099, allocations: 0 / 439.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1099, allocations: 0 / 439.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.11, allocations: 169.6 kB / 440.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.11, allocations: 0 / 440.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.1101, allocations: 4 kB / 440.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1101, allocations: 8 kB / 440.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1101, allocations: 4.062 kB / 440.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1101, allocations: 0 / 440.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1101, allocations: 0 / 440.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1102, allocations: 159.4 kB / 440.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1103, allocations: 81.02 kB / 440.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1103, allocations: 3.984 kB / 440.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.1104, allocations: 0 / 440.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.1104, allocations: 8 kB / 440.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1104, allocations: 0 / 440.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.722e-05/0.1104, allocations: 83.8 kB / 440.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1105, allocations: 0 / 440.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1107, allocations: 4 kB / 440.4 MB, free: 8.711 MB / 318.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.025e-05/0.1108, allocations: 95.23 kB / 440.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.1109, allocations: 28.08 kB / 440.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1109, allocations: 0 / 440.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.1109, allocations: 15.98 kB / 440.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1112, allocations: 11.94 kB / 440.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.1115, allocations: 105.1 kB / 440.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1117, allocations: 0.6768 MB / 441.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.631e-05/0.1117, allocations: 8 kB / 441.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1118, allocations: 11.44 kB / 441.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1118, allocations: 0 / 441.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of Templates: time 0.002319/0.1141, allocations: 457.5 kB / 441.8 MB, free: 7.262 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)