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.000732/0.0007321, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004097/0.004097, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.257/1.257, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1833/0.1833, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002672, allocations: 8 kB / 380.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2182, allocations: 55.97 MB / 436.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.001263/0.2195, allocations: 1.42 MB / 437.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.2202, allocations: 0.5758 MB / 438.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.2203, allocations: 2.906 kB / 438.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.2205, allocations: 30.48 kB / 438.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2206, allocations: 58.22 kB / 438.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2208, allocations: 90.61 kB / 438.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.221, allocations: 255.7 kB / 438.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.2211, allocations: 45.56 kB / 439 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.2213, allocations: 90.91 kB / 439.1 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2214, allocations: 113.4 kB / 439.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.2214, allocations: 7.938 kB / 439.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.2215, allocations: 6.281 kB / 439.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.2215, allocations: 60.33 kB / 439.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.2216, allocations: 95.92 kB / 439.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2217, allocations: 208.7 kB / 439.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2218, allocations: 0 / 439.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2218, allocations: 0 / 439.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.2218, allocations: 0 / 439.5 MB, free: 36.44 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001036/0.2228, allocations: 0.5497 MB / 440.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.2228, allocations: 14.72 kB / 440.1 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.2229, allocations: 23 kB / 440.1 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.2234, allocations: 340 kB / 440.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2234, allocations: 7.125 kB / 440.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.2235, allocations: 16.53 kB / 440.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.2237, allocations: 144.3 kB / 440.6 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2237, allocations: 3.938 kB / 440.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2237, allocations: 4 kB / 440.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2238, allocations: 3.031 kB / 440.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.224, allocations: 124.6 kB / 440.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.2247, allocations: 0.585 MB / 441.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2249, allocations: 151.5 kB / 441.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.225, allocations: 79.92 kB / 441.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.225, allocations: 2.656 kB / 441.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.165e-05/0.2251, allocations: 30.56 kB / 441.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2251, allocations: 0 / 441.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000405/0.2255, allocations: 268.9 kB / 441.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.571e-05/0.2255, allocations: 55.34 kB / 441.9 MB, free: 34.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.226, allocations: 295.8 kB / 442.2 MB, free: 34.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.226, allocations: 25.7 kB / 442.2 MB, free: 34.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.2261, allocations: 129.5 kB / 442.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.2261, allocations: 55.89 kB / 442.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.2262, allocations: 26.75 kB / 442.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.2262, allocations: 332.1 kB / 442.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2263, allocations: 75.34 kB / 442.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2264, allocations: 74.56 kB / 442.9 MB, free: 34.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.2267, allocations: 173.5 kB / 443.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2267, allocations: 0 / 443.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002801/0.2269, allocations: 221.1 kB / 443.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.227, allocations: 6.938 kB / 443.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.227, allocations: 2.969 kB / 443.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.227, allocations: 0 / 443.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2273, allocations: 51.2 kB / 443.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2273, allocations: 6.984 kB / 443.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2276, allocations: 29.72 kB / 443.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2276, allocations: 6.688 kB / 443.4 MB, free: 33.93 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 (17): * Single equations (assignments): 17 * 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 8.489e-05/0.2277, allocations: 149.7 kB / 443.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.2277, allocations: 16.78 kB / 443.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.2278, allocations: 30.56 kB / 443.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2278, allocations: 2.75 kB / 443.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2278, allocations: 0 / 443.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2278, allocations: 7.875 kB / 443.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.228, allocations: 317.4 kB / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2281, allocations: 0 / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.2282, allocations: 20.91 kB / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2282, allocations: 2.781 kB / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2283, allocations: 10.81 kB / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2283, allocations: 0 / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2283, allocations: 0 / 443.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.2287, allocations: 396.8 kB / 444.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.2287, allocations: 98.33 kB / 444.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.2288, allocations: 2.938 kB / 444.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.229, allocations: 43.19 kB / 444.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.2291, allocations: 9.094 kB / 444.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2291, allocations: 2.719 kB / 444.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.2295, allocations: 236.1 kB / 444.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2295, allocations: 0 / 444.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.2298, allocations: 36.78 kB / 444.7 MB, free: 33.01 MB / 350.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 (13): * Single equations (assignments): 13 * 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 6.764e-05/0.2299, allocations: 114.7 kB / 444.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.2301, allocations: 163 kB / 445 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2301, allocations: 0 / 445 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2303, allocations: 87.97 kB / 445.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2306, allocations: 23.81 kB / 445.1 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.2312, allocations: 0.5105 MB / 445.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2313, allocations: 0.7515 MB / 446.4 MB, free: 31.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.488e-05/0.2314, allocations: 41.52 kB / 446.4 MB, free: 31.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.2315, allocations: 22.23 kB / 446.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2315, allocations: 0 / 446.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of Templates: time 0.003798/0.2353, allocations: 1.983 MB / 448.4 MB, free: 31.64 MB / 350.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)