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.0009378/0.0009378, allocations: 92.16 kB / 16.02 MB, free: 80 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.000967/0.000967, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1994/0.1994, allocations: 22.34 MB / 314.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 8 kB / 381.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2416, allocations: 55.98 MB / 437.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.0015/0.2431, allocations: 1.422 MB / 438.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.244, allocations: 0.5709 MB / 439.2 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.2441, allocations: 0 / 439.2 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.2444, allocations: 37.52 kB / 439.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.2445, allocations: 53.03 kB / 439.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2448, allocations: 86.73 kB / 439.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.245, allocations: 270.9 kB / 439.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2451, allocations: 39.58 kB / 439.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2452, allocations: 88.36 kB / 439.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.2454, allocations: 113.3 kB / 439.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.2454, allocations: 5.562 kB / 439.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.2454, allocations: 8.219 kB / 439.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.2455, allocations: 63.62 kB / 439.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.2456, allocations: 98.05 kB / 440 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.2457, allocations: 159.9 kB / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2457, allocations: 0 / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2457, allocations: 4 kB / 440.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2458, allocations: 0 / 440.2 MB, free: 36.54 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.001084/0.2468, allocations: 0.5562 MB / 440.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2469, allocations: 12.47 kB / 440.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.2469, allocations: 23.12 kB / 440.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.2475, allocations: 334.9 kB / 441.1 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2475, allocations: 11.97 kB / 441.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.2475, allocations: 18.2 kB / 441.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.2478, allocations: 137.2 kB / 441.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2478, allocations: 0 / 441.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2478, allocations: 6.438 kB / 441.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2478, allocations: 6.094 kB / 441.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.248, allocations: 121.6 kB / 441.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/0.2488, allocations: 0.5822 MB / 442 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.249, allocations: 157.2 kB / 442.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2491, allocations: 75.39 kB / 442.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.2492, allocations: 3.031 kB / 442.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.2492, allocations: 33.94 kB / 442.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2492, allocations: 0 / 442.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004404/0.2496, allocations: 258.3 kB / 442.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.2497, allocations: 62.56 kB / 442.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.2502, allocations: 294.5 kB / 442.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2502, allocations: 32.58 kB / 442.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.2503, allocations: 127.4 kB / 443 MB, free: 34.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.2503, allocations: 56.17 kB / 443 MB, free: 34.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.2504, allocations: 26.17 kB / 443.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.2504, allocations: 331.3 kB / 443.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2505, allocations: 75.66 kB / 443.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2506, allocations: 76.92 kB / 443.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.2509, allocations: 173.1 kB / 443.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2509, allocations: 3.938 kB / 443.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002865/0.2512, allocations: 218.1 kB / 443.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2512, allocations: 4.75 kB / 443.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2512, allocations: 4 kB / 443.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2512, allocations: 0 / 443.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.2516, allocations: 54.14 kB / 444 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2516, allocations: 0 / 444 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2518, allocations: 35.92 kB / 444 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2518, allocations: 2.781 kB / 444 MB, free: 34.04 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.516e-05/0.2519, allocations: 152.5 kB / 444.2 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.252, allocations: 21.78 kB / 444.2 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.252, allocations: 23.28 kB / 444.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.252, allocations: 3.094 kB / 444.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2521, allocations: 3.188 kB / 444.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2521, allocations: 3.984 kB / 444.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.2523, allocations: 311.4 kB / 444.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2523, allocations: 3.281 kB / 444.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.2525, allocations: 27.7 kB / 444.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2525, allocations: 0 / 444.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2525, allocations: 2.969 kB / 444.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2525, allocations: 4 kB / 444.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2525, allocations: 6.062 kB / 444.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.2529, allocations: 390.3 kB / 444.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.253, allocations: 99 kB / 445 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.253, allocations: 6.969 kB / 445 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.2533, allocations: 32.88 kB / 445.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2534, allocations: 14.89 kB / 445.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.2534, allocations: 0 / 445.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004509/0.2538, allocations: 238.5 kB / 445.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2539, allocations: 3.938 kB / 445.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.2541, allocations: 33.69 kB / 445.4 MB, free: 33.12 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 8.218e-05/0.2542, allocations: 109.8 kB / 445.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2545, allocations: 171.5 kB / 445.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2545, allocations: 0 / 445.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.2546, allocations: 85.72 kB / 445.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2549, allocations: 22.19 kB / 445.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.2556, allocations: 0.5386 MB / 446.3 MB, free: 32.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.2558, allocations: 0.7467 MB / 447 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.2558, allocations: 16.09 kB / 447 MB, free: 31.85 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2558, allocations: 0 / 447 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Templates: time 0.003237/0.2591, allocations: 2.489 MB / 449.5 MB, free: 31.68 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)