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.00497/0.00497, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001227/0.001226, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1809/0.1809, allocations: 22.35 MB / 313 MB, free: 12.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 378.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2218, allocations: 54.94 MB / 433.6 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002199/0.224, allocations: 1.696 MB / 435.3 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.2243, allocations: 158.2 kB / 435.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.2244, allocations: 3.938 kB / 435.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.2244, allocations: 7.266 kB / 435.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.2245, allocations: 15.62 kB / 435.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.2247, allocations: 46.19 kB / 435.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2248, allocations: 73.55 kB / 435.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.2249, allocations: 46.14 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.2249, allocations: 22.09 kB / 435.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.225, allocations: 40.23 kB / 435.7 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.225, allocations: 5.656 kB / 435.7 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.225, allocations: 3 kB / 435.7 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2251, allocations: 13.97 kB / 435.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.2251, allocations: 35.41 kB / 435.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.459e-05/0.2252, allocations: 55.02 kB / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2252, allocations: 2.969 kB / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.2252, allocations: 0 / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.2252, allocations: 0 / 435.8 MB, free: 37.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003439/0.2255, allocations: 386.4 kB / 436.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.2256, allocations: 13.47 kB / 436.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.2256, allocations: 18.47 kB / 436.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2258, allocations: 194.4 kB / 436.4 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2258, allocations: 11.09 kB / 436.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2258, allocations: 3.219 kB / 436.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2259, allocations: 72.5 kB / 436.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.226, allocations: 192 / 436.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.226, allocations: 3.938 kB / 436.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.226, allocations: 6.906 kB / 436.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.2261, allocations: 29.25 kB / 436.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.2264, allocations: 347.8 kB / 436.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.2267, allocations: 72.03 kB / 437 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.2267, allocations: 17.88 kB / 437 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2268, allocations: 2.75 kB / 437 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.939e-06/0.2268, allocations: 30.56 kB / 437 MB, free: 36.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2268, allocations: 0 / 437 MB, free: 36.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001946/0.227, allocations: 84.59 kB / 437.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.227, allocations: 63.34 kB / 437.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.2271, allocations: 137 kB / 437.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.2271, allocations: 25.7 kB / 437.3 MB, free: 35.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.2271, allocations: 98.38 kB / 437.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.2272, allocations: 21.97 kB / 437.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2272, allocations: 20.12 kB / 437.5 MB, free: 35.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.573e-05/0.2272, allocations: 322.2 kB / 437.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.2273, allocations: 16.59 kB / 437.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.2273, allocations: 16.88 kB / 437.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.2274, allocations: 41.53 kB / 437.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2274, allocations: 0 / 437.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.2275, allocations: 76.42 kB / 437.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.2276, allocations: 10.06 kB / 437.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2276, allocations: 3.938 kB / 437.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2276, allocations: 0 / 437.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.2276, allocations: 12 kB / 438 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2276, allocations: 2.594 kB / 438 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.2277, allocations: 11.94 kB / 438 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2277, allocations: 2.656 kB / 438 MB, free: 35.25 MB / 350.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 (7): * Single equations (assignments): 7 * 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 4.68e-05/0.2277, allocations: 116.5 kB / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.2278, allocations: 9.281 kB / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.2278, allocations: 14.62 kB / 438.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2278, allocations: 0 / 438.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2278, allocations: 0 / 438.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2278, allocations: 3.938 kB / 438.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.228, allocations: 201.7 kB / 438.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.228, allocations: 4 kB / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.2281, allocations: 12.44 kB / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2281, allocations: 0 / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2281, allocations: 0 / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2281, allocations: 6.719 kB / 438.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2281, allocations: 0 / 438.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.2283, allocations: 185.2 kB / 438.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.2283, allocations: 88.08 kB / 438.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.2283, allocations: 6.906 kB / 438.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.2284, allocations: 4 kB / 438.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2284, allocations: 11.06 kB / 438.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2284, allocations: 3.938 kB / 438.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.2285, allocations: 109.6 kB / 438.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2285, allocations: 0 / 438.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.2287, allocations: 10.59 kB / 438.7 MB, free: 34.54 MB / 350.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 (5): * Single equations (assignments): 5 * 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 5.852e-05/0.2288, allocations: 94.62 kB / 438.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2289, allocations: 41.12 kB / 438.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2289, allocations: 0 / 438.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.229, allocations: 19.09 kB / 438.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2293, allocations: 11.38 kB / 438.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.2296, allocations: 279.2 kB / 439.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.2297, allocations: 0.6935 MB / 439.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.2298, allocations: 13.81 kB / 439.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2298, allocations: 0 / 439.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of Templates: time 0.002039/0.2318, allocations: 1.093 MB / 441 MB, free: 33.41 MB / 350.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)