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.001259/0.001259, allocations: 108 kB / 16.36 MB, free: 5.824 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.001293/0.001293, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0913/0.0913, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.72 kB / 382.2 MB, free: 41.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 54.95 MB / 437.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002064/0.1104, allocations: 0.7135 MB / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.1105, allocations: 19.92 kB / 437.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.1106, allocations: 4 kB / 437.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.1106, allocations: 7.922 kB / 437.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.1107, allocations: 0 / 437.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.342e-05/0.1107, allocations: 8 kB / 437.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.1108, allocations: 23.92 kB / 438 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.1109, allocations: 4 kB / 438 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.1109, allocations: 15.91 kB / 438 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.111, allocations: 15.88 kB / 438 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.111, allocations: 4 kB / 438 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.111, allocations: 0 / 438 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1111, allocations: 3.984 kB / 438 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1111, allocations: 11.94 kB / 438 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.921e-05/0.1112, allocations: 19.97 kB / 438 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1112, allocations: 0 / 438 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1112, allocations: 3.938 kB / 438 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1112, allocations: 0 / 438 MB, free: 11.41 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.0003543/0.1116, allocations: 327.5 kB / 438.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1116, allocations: 12.03 kB / 438.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1116, allocations: 8.922 kB / 438.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1117, allocations: 164.3 kB / 438.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1118, allocations: 8.375 kB / 438.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1118, allocations: 8.312 kB / 438.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/0.1119, allocations: 42.25 kB / 438.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1119, allocations: 192 / 438.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1119, allocations: 3.938 kB / 438.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1119, allocations: 0 / 438.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.112, allocations: 15.98 kB / 438.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.1123, allocations: 248.8 kB / 438.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/0.1124, allocations: 50.48 kB / 438.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.1124, allocations: 12.91 kB / 438.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1124, allocations: 0 / 438.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1125, allocations: 42.55 kB / 439 MB, free: 10.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1125, allocations: 0 / 439 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001631/0.1126, allocations: 45.69 kB / 439 MB, free: 10.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1127, allocations: 59.34 kB / 439.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.1128, allocations: 101.9 kB / 439.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1128, allocations: 25.7 kB / 439.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.1128, allocations: 80.14 kB / 439.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1128, allocations: 15.89 kB / 439.3 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.1129, allocations: 9.719 kB / 439.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.113, allocations: 318.8 kB / 439.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.113, allocations: 0 / 439.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.113, allocations: 7.984 kB / 439.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.1131, allocations: 28.86 kB / 439.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1131, allocations: 0 / 439.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.989e-05/0.1131, allocations: 49.62 kB / 439.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1132, allocations: 4 kB / 439.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1132, allocations: 3.938 kB / 439.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1132, allocations: 0 / 439.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.1132, allocations: 7.938 kB / 439.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1133, allocations: 7.938 kB / 439.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.1133, allocations: 3.906 kB / 439.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1133, allocations: 0 / 439.7 MB, free: 9.5 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 6.716e-05/0.1134, allocations: 126.5 kB / 439.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1134, allocations: 4 kB / 439.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1136, allocations: 73.11 kB / 439.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1136, allocations: 0 / 439.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1136, allocations: 0 / 439.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1136, allocations: 4 kB / 439.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1137, allocations: 161.6 kB / 440.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1137, allocations: 4 kB / 440.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.1138, allocations: 15.92 kB / 440.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1138, allocations: 0 / 440.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1138, allocations: 8.062 kB / 440.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1138, allocations: 0 / 440.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1138, allocations: 0 / 440.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.114, allocations: 155.5 kB / 440.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.114, allocations: 81.02 kB / 440.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.114, allocations: 4 kB / 440.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.1141, allocations: 4 kB / 440.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.1141, allocations: 8.5 kB / 440.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1141, allocations: 0 / 440.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.1142, allocations: 83.27 kB / 440.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1142, allocations: 0 / 440.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.1144, allocations: 8 kB / 440.4 MB, free: 8.672 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.321e-05/0.1145, allocations: 95.19 kB / 440.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.916e-05/0.1146, allocations: 23.98 kB / 440.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1146, allocations: 0 / 440.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.381e-05/0.1146, allocations: 16 kB / 440.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1149, allocations: 14.27 kB / 440.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.1152, allocations: 109 kB / 440.7 MB, free: 8.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1154, allocations: 0.6768 MB / 441.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.1154, allocations: 8 kB / 441.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.1155, allocations: 11.44 kB / 441.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1155, allocations: 0 / 441.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of Templates: time 0.002441/0.1179, allocations: 448.9 kB / 441.8 MB, free: 7.227 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 gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)