Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 105.7 kB / 16.41 MB, free: 6.477 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.001268/0.001268, allocations: 189.6 kB / 17.34 MB, free: 5.746 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09195/0.09195, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 435.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08905, allocations: 54.95 MB / 490.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002653/0.09174, allocations: 1.698 MB / 492.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.09277, allocations: 0.5845 MB / 492.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.09287, allocations: 4 kB / 492.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.09316, allocations: 43.72 kB / 492.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.09336, allocations: 59.69 kB / 492.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.09365, allocations: 91.88 kB / 493 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.09395, allocations: 291.5 kB / 493.3 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.09409, allocations: 41.55 kB / 493.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.09425, allocations: 111.6 kB / 493.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.09447, allocations: 123.5 kB / 493.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.09452, allocations: 24 kB / 493.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.09456, allocations: 20 kB / 493.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.09468, allocations: 87.78 kB / 493.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.09478, allocations: 87.47 kB / 493.8 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.09499, allocations: 223.3 kB / 494 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.095, allocations: 0 / 494 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.031e-05/0.09502, allocations: 4 kB / 494 MB, free: 3.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.09503, allocations: 0 / 494 MB, free: 3.395 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001267/0.0963, allocations: 0.5728 MB / 494.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.09635, allocations: 12.03 kB / 494.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.09641, allocations: 20.66 kB / 494.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.09706, allocations: 336.4 kB / 495 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.09709, allocations: 12.56 kB / 495 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.09713, allocations: 16.31 kB / 495 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.09738, allocations: 136.4 kB / 495.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.09741, allocations: 3.938 kB / 495.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.09743, allocations: 11.98 kB / 495.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.09744, allocations: 0 / 495.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.09768, allocations: 123.9 kB / 495.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.09858, allocations: 0.5784 MB / 495.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.09884, allocations: 146.5 kB / 496 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.09897, allocations: 81.03 kB / 496.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.099, allocations: 7.938 kB / 496.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.09903, allocations: 30.56 kB / 496.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.09903, allocations: 0 / 496.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004805/0.09952, allocations: 253.3 kB / 496.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.09956, allocations: 55.41 kB / 496.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.1002, allocations: 299.1 kB / 496.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1002, allocations: 29.7 kB / 496.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.1003, allocations: 128 kB / 496.8 MB, free: 384 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.1003, allocations: 47.34 kB / 496.9 MB, free: 336 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.1004, allocations: 33.7 kB / 496.9 MB, free: 296 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1005, allocations: 330.8 kB / 497.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1007, allocations: 79.95 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1008, allocations: 75.89 kB / 497.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1011, allocations: 163.8 kB / 497.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1011, allocations: 3.938 kB / 497.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003374/0.1014, allocations: 225.3 kB / 497.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1014, allocations: 4 kB / 497.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1014, allocations: 0 / 497.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1015, allocations: 4 kB / 497.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1018, allocations: 43.97 kB / 497.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1018, allocations: 4 kB / 497.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1021, allocations: 35.89 kB / 497.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1021, allocations: 4 kB / 497.9 MB, free: 15.32 MB / 382.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 (16): * Single equations (assignments): 16 * 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 0.0001211/0.1022, allocations: 154.4 kB / 498 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1023, allocations: 15.81 kB / 498 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.1023, allocations: 25.39 kB / 498.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1023, allocations: 0 / 498.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1023, allocations: 8 kB / 498.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1024, allocations: 0 / 498.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.1027, allocations: 301.3 kB / 498.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1027, allocations: 0 / 498.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1029, allocations: 23.98 kB / 498.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1029, allocations: 0 / 498.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1029, allocations: 15.92 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1029, allocations: 0 / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1029, allocations: 7.938 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.1034, allocations: 383.5 kB / 498.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.1035, allocations: 108.8 kB / 498.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1035, allocations: 0 / 498.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.1038, allocations: 31.95 kB / 498.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1039, allocations: 4 kB / 498.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1039, allocations: 7.984 kB / 498.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004788/0.1044, allocations: 236.5 kB / 499.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1044, allocations: 0 / 499.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1046, allocations: 31.94 kB / 499.2 MB, free: 13.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.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 (12): * Single equations (assignments): 12 * 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.0001075/0.1048, allocations: 99.19 kB / 499.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1051, allocations: 163.8 kB / 499.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1051, allocations: 4 kB / 499.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1052, allocations: 83.91 kB / 499.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1055, allocations: 20.75 kB / 499.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.1063, allocations: 491.9 kB / 0.4883 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1066, allocations: 0.7475 MB / 0.4891 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.1067, allocations: 15.44 kB / 0.4891 GB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1067, allocations: 0 / 0.4891 GB, free: 12.22 MB / 382.1 MB Notification: Performance of Templates: time 0.00416/0.1109, allocations: 2.53 MB / 0.4915 GB, free: 9.695 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & ./AES_AES.Devel_test_models.Test_SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)