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.001527/0.001527, allocations: 116.4 kB / 16.37 MB, free: 5.984 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.001758/0.001758, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.361/1.361, 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.09245/0.09245, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.19 kB / 380.1 MB, free: 42.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09831, allocations: 54.95 MB / 435.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00259/0.1009, allocations: 1.457 MB / 436.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.1017, allocations: 0.4949 MB / 437 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.1018, allocations: 4 kB / 437 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1021, allocations: 23.84 kB / 437.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1022, allocations: 23.86 kB / 437.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1024, allocations: 47.94 kB / 437.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1026, allocations: 123.7 kB / 437.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.1027, allocations: 19.98 kB / 437.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.1028, allocations: 47.83 kB / 437.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1029, allocations: 63.73 kB / 437.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1029, allocations: 8 kB / 437.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.103, allocations: 8 kB / 437.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.103, allocations: 31.91 kB / 437.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1031, allocations: 35.78 kB / 437.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1032, allocations: 79.7 kB / 437.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1032, allocations: 0 / 437.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1032, allocations: 0 / 437.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1032, allocations: 4 kB / 437.5 MB, free: 11.89 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.0007964/0.104, allocations: 446.9 kB / 438 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1041, allocations: 11.97 kB / 438 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1041, allocations: 12.84 kB / 438 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1045, allocations: 234.5 kB / 438.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1045, allocations: 4.375 kB / 438.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1046, allocations: 4.375 kB / 438.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1047, allocations: 77.91 kB / 438.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1047, allocations: 0 / 438.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1047, allocations: 4 kB / 438.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1047, allocations: 3.938 kB / 438.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1048, allocations: 59.94 kB / 438.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.1054, allocations: 368.6 kB / 438.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1056, allocations: 82.56 kB / 438.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1057, allocations: 36.97 kB / 438.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1057, allocations: 0 / 438.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1057, allocations: 34.56 kB / 438.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1057, allocations: 0 / 438.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002648/0.106, allocations: 121.5 kB / 439 MB, free: 10.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.106, allocations: 59.34 kB / 439.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.1063, allocations: 192.5 kB / 439.3 MB, free: 9.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1064, allocations: 25.7 kB / 439.3 MB, free: 9.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1064, allocations: 108 kB / 439.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1065, allocations: 23.72 kB / 439.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1065, allocations: 17.72 kB / 439.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1066, allocations: 326.8 kB / 439.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.1067, allocations: 31.97 kB / 439.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.1068, allocations: 27.98 kB / 439.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1069, allocations: 76.97 kB / 439.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1069, allocations: 3.938 kB / 439.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001608/0.107, allocations: 113.5 kB / 440 MB, free: 9.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1071, allocations: 8 kB / 440 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1071, allocations: 0 / 440 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1071, allocations: 0 / 440 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1073, allocations: 23.98 kB / 440 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1073, allocations: 0 / 440 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1074, allocations: 19.83 kB / 440 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1075, allocations: 7.984 kB / 440.1 MB, free: 9.152 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 9.683e-05/0.1076, allocations: 122.5 kB / 440.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.1076, allocations: 11.91 kB / 440.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.1076, allocations: 20.7 kB / 440.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1077, allocations: 256 / 440.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1077, allocations: 0 / 440.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1077, allocations: 8 kB / 440.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.1081, allocations: 394.4 kB / 440.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1082, allocations: 0 / 440.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.1083, allocations: 19.92 kB / 440.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1083, allocations: 0 / 440.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1083, allocations: 4 kB / 440.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1083, allocations: 0 / 440.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1083, allocations: 3.938 kB / 440.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1086, allocations: 235.2 kB / 440.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1086, allocations: 89.03 kB / 440.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1086, allocations: 4 kB / 440.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1088, allocations: 11.98 kB / 441 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1088, allocations: 15.98 kB / 441 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1089, allocations: 0 / 441 MB, free: 8.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.1091, allocations: 154 kB / 441.1 MB, free: 7.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1091, allocations: 0 / 441.1 MB, free: 7.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1094, allocations: 12 kB / 441.1 MB, free: 7.973 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 8.444e-05/0.1095, allocations: 91.25 kB / 441.2 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.1096, allocations: 75.91 kB / 441.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1096, allocations: 0 / 441.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.258e-05/0.1097, allocations: 31.97 kB / 441.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.11, allocations: 19.28 kB / 441.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.1105, allocations: 243.4 kB / 441.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1108, allocations: 0.7157 MB / 442.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.1108, allocations: 20.42 kB / 442.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.1109, allocations: 11.44 kB / 442.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1109, allocations: 0 / 442.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of Templates: time 0.003344/0.1142, allocations: 0.9837 MB / 443.3 MB, free: 5.738 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 gbode -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)