Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008895/0.008894, allocations: 102.6 kB / 15.74 MB, free: 5.508 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.002087/0.002087, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2429/0.2429, allocations: 22.36 MB / 312.9 MB, free: 12.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 61.75 kB / 434.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1057, allocations: 54.96 MB / 489.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00191/0.1076, allocations: 1.47 MB / 491.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.1083, allocations: 0.4949 MB / 491.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.1083, allocations: 3.938 kB / 491.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1086, allocations: 15.92 kB / 491.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1087, allocations: 27.84 kB / 491.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.1089, allocations: 51.88 kB / 492 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.109, allocations: 119.8 kB / 492.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.1091, allocations: 19.98 kB / 492.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.1092, allocations: 43.84 kB / 492.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1093, allocations: 63.8 kB / 492.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1093, allocations: 4 kB / 492.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.1093, allocations: 11.94 kB / 492.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1094, allocations: 35.89 kB / 492.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1095, allocations: 39.73 kB / 492.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1096, allocations: 75.64 kB / 492.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1096, allocations: 7.938 kB / 492.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1096, allocations: 0 / 492.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1096, allocations: 0 / 492.4 MB, free: 0.8633 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006703/0.1103, allocations: 443 kB / 492.8 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1103, allocations: 12.03 kB / 492.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.1104, allocations: 16.89 kB / 492.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1107, allocations: 240.1 kB / 493.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1107, allocations: 4.375 kB / 493.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1107, allocations: 4.375 kB / 493.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1109, allocations: 70.25 kB / 493.1 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1109, allocations: 3.938 kB / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1109, allocations: 0 / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1109, allocations: 0 / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.111, allocations: 63.88 kB / 493.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.1115, allocations: 364.7 kB / 493.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1117, allocations: 78.55 kB / 493.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.1117, allocations: 37 kB / 493.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1118, allocations: 4 kB / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1118, allocations: 42.55 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1118, allocations: 3.938 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002395/0.112, allocations: 113.6 kB / 493.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1121, allocations: 55.41 kB / 493.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.1124, allocations: 191.6 kB / 494.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1124, allocations: 29.7 kB / 494.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1125, allocations: 108.1 kB / 494.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1125, allocations: 19.8 kB / 494.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1126, allocations: 25.7 kB / 494.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1127, allocations: 330.8 kB / 494.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.1127, allocations: 27.92 kB / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.1128, allocations: 31.97 kB / 494.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1129, allocations: 68.83 kB / 494.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1129, allocations: 0 / 494.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000149/0.113, allocations: 113.6 kB / 494.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1131, allocations: 4 kB / 494.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.1131, allocations: 0 / 494.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1131, allocations: 4 kB / 494.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.1133, allocations: 31.86 kB / 494.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1133, allocations: 4 kB / 494.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.1134, allocations: 15.97 kB / 494.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1134, allocations: 0 / 494.9 MB, free: 14.12 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 (8): * Single equations (assignments): 8 * 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.878e-05/0.1135, allocations: 130.5 kB / 495 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.1135, allocations: 7.953 kB / 495 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.1136, allocations: 16.7 kB / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1136, allocations: 4 kB / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1136, allocations: 0 / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1136, allocations: 0 / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1141, allocations: 410.6 kB / 495.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1141, allocations: 0 / 495.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.1142, allocations: 12 kB / 495.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1142, allocations: 0 / 495.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1142, allocations: 0 / 495.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1142, allocations: 4 kB / 495.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1142, allocations: 0 / 495.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1145, allocations: 235.3 kB / 495.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1146, allocations: 89.05 kB / 495.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1146, allocations: 3.938 kB / 495.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1148, allocations: 20.03 kB / 495.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1148, allocations: 11.94 kB / 495.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1148, allocations: 0 / 495.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.1151, allocations: 150.5 kB / 495.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1151, allocations: 0 / 495.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1153, allocations: 16 kB / 496 MB, free: 12.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],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 (6): * Single equations (assignments): 6 * 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 7.551e-05/0.1154, allocations: 99.19 kB / 496.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.1155, allocations: 71.95 kB / 496.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1156, allocations: 0 / 496.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.1156, allocations: 35.92 kB / 496.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1159, allocations: 8 kB / 496.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.1163, allocations: 242.9 kB / 496.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1167, allocations: 0.7158 MB / 497.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.1168, allocations: 16.42 kB / 497.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.1168, allocations: 11.44 kB / 497.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1168, allocations: 0 / 497.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.002988/0.1198, allocations: 0.9962 MB / 498.1 MB, free: 10.69 MB / 366.1 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)