Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") translateModel(AES.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007159/0.0007159, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007651/0.000765, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.255/1.255, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1772/0.1772, allocations: 22.34 MB / 314.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 12 kB / 381.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 55.98 MB / 437.2 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.00112/0.2261, allocations: 1.152 MB / 438.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.2263, allocations: 107.8 kB / 438.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.2264, allocations: 3 kB / 438.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.2264, allocations: 3.938 kB / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.2265, allocations: 3.422 kB / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.2266, allocations: 29.55 kB / 438.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.2267, allocations: 28.33 kB / 438.5 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.2268, allocations: 13.88 kB / 438.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.2268, allocations: 10.16 kB / 438.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.2269, allocations: 14.73 kB / 438.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.2269, allocations: 2.812 kB / 438.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-06/0.2269, allocations: 0 / 438.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.2269, allocations: 11.16 kB / 438.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.227, allocations: 39.39 kB / 438.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.329e-05/0.227, allocations: 15.23 kB / 438.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.227, allocations: 0 / 438.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.227, allocations: 4 kB / 438.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.227, allocations: 2.812 kB / 438.6 MB, free: 37.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002493/0.2273, allocations: 338.3 kB / 438.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.2273, allocations: 11.69 kB / 438.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.2274, allocations: 7.75 kB / 439 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2275, allocations: 177.3 kB / 439.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2275, allocations: 4.312 kB / 439.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2275, allocations: 7.312 kB / 439.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.085e-05/0.2276, allocations: 46.05 kB / 439.2 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2276, allocations: 4.188 kB / 439.2 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2276, allocations: 3.938 kB / 439.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2276, allocations: 0 / 439.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.2277, allocations: 13.23 kB / 439.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.2279, allocations: 271.9 kB / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.184e-05/0.228, allocations: 21.52 kB / 439.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.228, allocations: 11.83 kB / 439.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.228, allocations: 0 / 439.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.228, allocations: 33.98 kB / 439.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.228, allocations: 0 / 439.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001214/0.2282, allocations: 45.55 kB / 439.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.2282, allocations: 55.34 kB / 439.6 MB, free: 36.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.2283, allocations: 119.6 kB / 439.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.2283, allocations: 29.83 kB / 439.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.2283, allocations: 91.7 kB / 439.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.2283, allocations: 7.281 kB / 439.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.2283, allocations: 13.72 kB / 439.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.2284, allocations: 317.2 kB / 440.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.2284, allocations: 6.625 kB / 440.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.2284, allocations: 5.734 kB / 440.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.2284, allocations: 20.52 kB / 440.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2284, allocations: 0 / 440.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.14e-05/0.2285, allocations: 56.06 kB / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2285, allocations: 5.531 kB / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2285, allocations: 0 / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.2285, allocations: 0 / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.2286, allocations: 5.125 kB / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2286, allocations: 0 / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.2286, allocations: 6.625 kB / 440.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2286, allocations: 4.375 kB / 440.3 MB, free: 35.51 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 (3): * Single equations (assignments): 3 * 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 3.914e-05/0.2287, allocations: 116.4 kB / 440.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.2287, allocations: 11.23 kB / 440.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.2287, allocations: 10.38 kB / 440.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2288, allocations: 3.938 kB / 440.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2288, allocations: 0 / 440.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2288, allocations: 0 / 440.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2289, allocations: 164.6 kB / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2289, allocations: 0 / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.2289, allocations: 5.438 kB / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2289, allocations: 0 / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.229, allocations: 0 / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.229, allocations: 3.422 kB / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.229, allocations: 4 kB / 440.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.33e-05/0.2291, allocations: 150.2 kB / 440.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.2291, allocations: 83.64 kB / 440.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.2291, allocations: 0 / 440.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.2292, allocations: 0 / 440.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.2292, allocations: 0 / 440.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.2292, allocations: 2.688 kB / 440.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.846e-05/0.2292, allocations: 94.73 kB / 440.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2292, allocations: 0 / 440.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.2295, allocations: 5.406 kB / 440.9 MB, free: 34.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (2): * Single equations (assignments): 2 * 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 4.563e-05/0.2295, allocations: 94.94 kB / 441 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.2296, allocations: 15.83 kB / 441.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2296, allocations: 0 / 441.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.2296, allocations: 6.906 kB / 441.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.2299, allocations: 22.14 kB / 441.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.2301, allocations: 184.9 kB / 441.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.85e-05/0.2302, allocations: 0.6858 MB / 442 MB, free: 33.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.2302, allocations: 7.438 kB / 442 MB, free: 33.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2302, allocations: 0 / 442 MB, free: 33.86 MB / 350.1 MB Notification: Performance of Templates: time 0.001508/0.2318, allocations: 0.6598 MB / 442.6 MB, free: 33.82 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.FOPDT.makefile (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & ./AES_AES.ProcessBlocks.FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)