Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001483/0.001483, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09164/0.09164, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 55.91 kB / 435.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09185, allocations: 54.96 MB / 490.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.00252/0.09441, allocations: 1.646 MB / 492.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000353/0.09478, allocations: 151.5 kB / 492.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.09485, allocations: 4 kB / 492.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.0949, allocations: 11.88 kB / 492.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.126e-05/0.095, allocations: 19.8 kB / 492.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.09524, allocations: 47.89 kB / 492.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.09538, allocations: 79.78 kB / 492.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.0955, allocations: 31.98 kB / 492.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.09555, allocations: 35.84 kB / 492.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.09563, allocations: 39.72 kB / 492.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.09566, allocations: 8 kB / 492.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.09568, allocations: 8 kB / 492.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.0957, allocations: 11.94 kB / 492.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.09574, allocations: 35.8 kB / 492.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.09586, allocations: 87.59 kB / 492.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09587, allocations: 0 / 492.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.09588, allocations: 4 kB / 492.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.09589, allocations: 3.938 kB / 492.8 MB, free: 4.625 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004282/0.09632, allocations: 383.2 kB / 493.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.09636, allocations: 8.031 kB / 493.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.0964, allocations: 12.75 kB / 493.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.09664, allocations: 200.1 kB / 493.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.09666, allocations: 4.375 kB / 493.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.09669, allocations: 8.375 kB / 493.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.09688, allocations: 74.23 kB / 493.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.09689, allocations: 192 / 493.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.09691, allocations: 11.88 kB / 493.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.09692, allocations: 0 / 493.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.09701, allocations: 23.98 kB / 493.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.09747, allocations: 348.5 kB / 493.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.09778, allocations: 66.55 kB / 493.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.09784, allocations: 24.84 kB / 493.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.09787, allocations: 3.984 kB / 493.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.09789, allocations: 34.56 kB / 493.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.0979, allocations: 0 / 493.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002208/0.09812, allocations: 65.59 kB / 494 MB, free: 3.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.09817, allocations: 59.41 kB / 494.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.09828, allocations: 144.3 kB / 494.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.09831, allocations: 29.69 kB / 494.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.09836, allocations: 99.98 kB / 494.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.09839, allocations: 19.8 kB / 494.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.09843, allocations: 17.72 kB / 494.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.09855, allocations: 318.8 kB / 494.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.0986, allocations: 19.94 kB / 494.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.09864, allocations: 15.98 kB / 494.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.09872, allocations: 32.86 kB / 494.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09873, allocations: 0 / 494.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001253/0.09886, allocations: 69.59 kB / 494.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.09888, allocations: 8 kB / 494.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09889, allocations: 0 / 494.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.09891, allocations: 0 / 494.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.09897, allocations: 15.98 kB / 494.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.09899, allocations: 7.938 kB / 494.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.09902, allocations: 7.875 kB / 494.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.09904, allocations: 4 kB / 494.9 MB, free: 2.305 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 (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 prepare postOptimizeDAE: time 9.604e-05/0.09914, allocations: 118.6 kB / 495 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.09917, allocations: 7.906 kB / 495 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.09921, allocations: 8.25 kB / 495 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09922, allocations: 0 / 495 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.09923, allocations: 4 kB / 495 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.09924, allocations: 7.922 kB / 495 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.09942, allocations: 193.6 kB / 495.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09943, allocations: 0 / 495.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.0995, allocations: 11.98 kB / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.09951, allocations: 0 / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.09953, allocations: 192 / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.09953, allocations: 4 kB / 495.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09954, allocations: 0 / 495.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.09977, allocations: 187.3 kB / 495.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.09982, allocations: 89.08 kB / 495.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.09984, allocations: 0 / 495.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.09991, allocations: 4 kB / 495.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.09996, allocations: 7.922 kB / 495.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.09997, allocations: 0 / 495.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.1, allocations: 111.3 kB / 495.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1001, allocations: 0 / 495.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1003, allocations: 11.91 kB / 495.6 MB, free: 1.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * 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 (4): * Single equations (assignments): 4 * 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.396e-05/0.1004, allocations: 95.25 kB / 495.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.1005, allocations: 35.92 kB / 495.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1005, allocations: 0 / 495.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.1006, allocations: 15.98 kB / 495.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1009, allocations: 22.11 kB / 495.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.1013, allocations: 237.6 kB / 496 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1015, allocations: 0.7002 MB / 496.7 MB, free: 296 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.1016, allocations: 11.44 kB / 496.7 MB, free: 284 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1016, allocations: 0 / 496.7 MB, free: 284 kB / 366.1 MB Notification: Performance of Templates: time 0.002359/0.1039, allocations: 1.071 MB / 497.8 MB, free: 15.21 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_FOPDT.makefile (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & ./AES_AES.Devel_test_models.Test_FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)