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.001408/0.001413, allocations: 100.1 kB / 15.88 MB, free: 12 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.001529/0.001529, allocations: 198 kB / 16.79 MB, free: 6.809 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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1891/0.1891, allocations: 22.35 MB / 313 MB, free: 12.78 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 378.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2341, allocations: 54.94 MB / 433.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.00227/0.2365, allocations: 1.76 MB / 435.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.2372, allocations: 0.5851 MB / 436 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.2373, allocations: 3.938 kB / 436 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.2376, allocations: 30.14 kB / 436 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2377, allocations: 52.22 kB / 436.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2379, allocations: 89.83 kB / 436.2 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.2381, allocations: 267.9 kB / 436.4 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2382, allocations: 42.83 kB / 436.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.2383, allocations: 92.8 kB / 436.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2385, allocations: 118.6 kB / 436.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.2385, allocations: 13.22 kB / 436.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.67e-05/0.2386, allocations: 8.781 kB / 436.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.2387, allocations: 64.25 kB / 436.8 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.2387, allocations: 75.94 kB / 436.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2389, allocations: 169.4 kB / 437 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2389, allocations: 0 / 437 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2389, allocations: 3.938 kB / 437 MB, free: 36.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2389, allocations: 0 / 437 MB, free: 36.67 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.001164/0.2401, allocations: 0.5857 MB / 437.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2401, allocations: 12.66 kB / 437.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.2401, allocations: 29.28 kB / 437.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.2407, allocations: 324.7 kB / 437.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2407, allocations: 10.69 kB / 438 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.2408, allocations: 9.875 kB / 438 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.241, allocations: 145.1 kB / 438.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.241, allocations: 0 / 438.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2411, allocations: 4 kB / 438.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2411, allocations: 7.125 kB / 438.1 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.2413, allocations: 124.2 kB / 438.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.2421, allocations: 0.5861 MB / 438.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2423, allocations: 146.3 kB / 439 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2424, allocations: 76.2 kB / 439 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2425, allocations: 6.703 kB / 439 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2425, allocations: 30.56 kB / 439.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2425, allocations: 6.719 kB / 439.1 MB, free: 35.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004305/0.2429, allocations: 262.6 kB / 439.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.243, allocations: 54.94 kB / 439.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.2435, allocations: 290.7 kB / 439.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2435, allocations: 32.27 kB / 439.7 MB, free: 34.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.2436, allocations: 130.9 kB / 439.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2436, allocations: 47.8 kB / 439.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.2437, allocations: 36.41 kB / 439.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.2437, allocations: 334.8 kB / 440.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2438, allocations: 75.73 kB / 440.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2439, allocations: 79.28 kB / 440.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.2442, allocations: 166.7 kB / 440.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2442, allocations: 7.406 kB / 440.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002869/0.2445, allocations: 224.4 kB / 440.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2445, allocations: 6.094 kB / 440.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2445, allocations: 0 / 440.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2445, allocations: 3.234 kB / 440.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.2448, allocations: 49.16 kB / 440.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2449, allocations: 2.625 kB / 440.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2451, allocations: 40.56 kB / 440.9 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2451, allocations: 6.562 kB / 440.9 MB, free: 34.13 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.521e-05/0.2452, allocations: 151.5 kB / 441 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.2453, allocations: 16.31 kB / 441.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.2453, allocations: 26.3 kB / 441.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2453, allocations: 3.938 kB / 441.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2453, allocations: 0 / 441.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2453, allocations: 2.844 kB / 441.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.2456, allocations: 313 kB / 441.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2456, allocations: 0 / 441.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.2458, allocations: 35.3 kB / 441.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2458, allocations: 0 / 441.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2458, allocations: 2.562 kB / 441.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2458, allocations: 3.938 kB / 441.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2458, allocations: 2.781 kB / 441.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.2463, allocations: 386.8 kB / 441.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2463, allocations: 101.9 kB / 441.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.2463, allocations: 3.906 kB / 441.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.2466, allocations: 36 kB / 442 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.2467, allocations: 8.547 kB / 442 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2467, allocations: 6.594 kB / 442 MB, free: 33.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.2471, allocations: 233.2 kB / 442.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2471, allocations: 4 kB / 442.2 MB, free: 33.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.2474, allocations: 34.38 kB / 442.2 MB, free: 33.21 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 7.245e-05/0.2475, allocations: 105.3 kB / 442.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.2477, allocations: 160.4 kB / 442.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2477, allocations: 0 / 442.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2479, allocations: 89.23 kB / 442.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2482, allocations: 23.28 kB / 442.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.2489, allocations: 0.5228 MB / 443.1 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.249, allocations: 0.745 MB / 443.9 MB, free: 31.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.2491, allocations: 18.53 kB / 443.9 MB, free: 31.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2491, allocations: 7.938 kB / 443.9 MB, free: 31.95 MB / 350.1 MB Notification: Performance of Templates: time 0.003179/0.2523, allocations: 2.512 MB / 446.4 MB, free: 31.76 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)