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.001369/0.001369, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001474/0.001474, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09116/0.09116, allocations: 22.33 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 70.17 kB / 380.1 MB, free: 42.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09699, allocations: 54.96 MB / 435.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002623/0.09966, allocations: 1.459 MB / 436.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.1006, allocations: 0.4987 MB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1007, allocations: 0 / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.101, allocations: 23.86 kB / 437.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1011, allocations: 19.86 kB / 437.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.1013, allocations: 43.94 kB / 437.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1016, allocations: 123.7 kB / 437.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1017, allocations: 23.97 kB / 437.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.1018, allocations: 51.84 kB / 437.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1019, allocations: 59.73 kB / 437.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.102, allocations: 8 kB / 437.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.102, allocations: 4 kB / 437.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.1021, allocations: 39.89 kB / 437.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.1021, allocations: 31.8 kB / 437.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1023, allocations: 79.7 kB / 437.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1023, allocations: 4 kB / 437.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1023, allocations: 0 / 437.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1023, allocations: 4 kB / 437.5 MB, free: 11.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008568/0.1032, allocations: 442.9 kB / 438 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1032, allocations: 19.97 kB / 438 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1033, allocations: 8.844 kB / 438 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1037, allocations: 232.1 kB / 438.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.1037, allocations: 4.375 kB / 438.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1037, allocations: 8.375 kB / 438.2 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1039, allocations: 69.98 kB / 438.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1039, allocations: 4 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1039, allocations: 0 / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1039, allocations: 7.938 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.104, allocations: 51.95 kB / 438.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.1047, allocations: 368.6 kB / 438.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1048, allocations: 86.56 kB / 438.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.1049, allocations: 32.97 kB / 438.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1049, allocations: 11.94 kB / 438.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/0.105, allocations: 34.55 kB / 438.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.105, allocations: 0 / 438.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002752/0.1053, allocations: 121.6 kB / 439 MB, free: 10.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1053, allocations: 55.34 kB / 439.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1056, allocations: 188.5 kB / 439.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1057, allocations: 29.7 kB / 439.3 MB, free: 10 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1057, allocations: 112 kB / 439.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1058, allocations: 15.72 kB / 439.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1058, allocations: 25.7 kB / 439.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.1059, allocations: 326.8 kB / 439.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.106, allocations: 31.98 kB / 439.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.106, allocations: 27.98 kB / 439.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1061, allocations: 68.77 kB / 439.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1061, allocations: 4 kB / 439.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001504/0.1063, allocations: 113.5 kB / 440 MB, free: 9.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1063, allocations: 8 kB / 440 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1063, allocations: 0 / 440 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1063, allocations: 0 / 440 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1066, allocations: 23.98 kB / 440 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1066, allocations: 0 / 440 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1067, allocations: 27.81 kB / 440.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.1067, allocations: 0 / 440.1 MB, free: 9.203 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 (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 8.931e-05/0.1068, allocations: 130.5 kB / 440.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1068, allocations: 7.906 kB / 440.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.1069, allocations: 20.7 kB / 440.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1069, allocations: 0 / 440.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1069, allocations: 0 / 440.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1069, allocations: 0 / 440.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.1074, allocations: 398.7 kB / 440.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1074, allocations: 0 / 440.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.1075, allocations: 20 kB / 440.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1075, allocations: 0 / 440.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1075, allocations: 4 kB / 440.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1075, allocations: 0 / 440.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1075, allocations: 7.922 kB / 440.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1078, allocations: 231.2 kB / 440.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.1079, allocations: 85.05 kB / 440.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1079, allocations: 4 kB / 440.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.108, allocations: 20.03 kB / 441 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.1081, allocations: 3.938 kB / 441 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1081, allocations: 4 kB / 441 MB, free: 8.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.1083, allocations: 155.6 kB / 441.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1084, allocations: 0 / 441.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1086, allocations: 16 kB / 441.1 MB, free: 8.023 MB / 318.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 0.000103/0.1087, allocations: 99.25 kB / 441.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1089, allocations: 67.89 kB / 441.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1089, allocations: 0 / 441.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.1089, allocations: 31.98 kB / 441.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1092, allocations: 15.94 kB / 441.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.1097, allocations: 243.4 kB / 441.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.11, allocations: 0.7118 MB / 442.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.1101, allocations: 16.42 kB / 442.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.1101, allocations: 11.44 kB / 442.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1101, allocations: 0 / 442.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of Templates: time 0.003278/0.1134, allocations: 0.9884 MB / 443.3 MB, free: 5.785 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)