Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.0008229, allocations: 99.5 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.0009112/0.0009113, allocations: 181.2 kB / 16.92 MB, free: 6.891 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2062/0.2062, allocations: 22.36 MB / 314.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 4 kB / 381.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.279, allocations: 55.98 MB / 437.2 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001536/0.2806, allocations: 1.181 MB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.2814, allocations: 496.4 kB / 438.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.2815, allocations: 0 / 438.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.2818, allocations: 21.33 kB / 438.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2819, allocations: 20.36 kB / 438.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2821, allocations: 49.09 kB / 438.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2823, allocations: 109.5 kB / 439 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.2824, allocations: 21.05 kB / 439 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.2825, allocations: 47.97 kB / 439.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2826, allocations: 53.03 kB / 439.1 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.2827, allocations: 6.938 kB / 439.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.2827, allocations: 2.75 kB / 439.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.2828, allocations: 32.52 kB / 439.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.2828, allocations: 63.36 kB / 439.2 MB, free: 37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.045e-05/0.2829, allocations: 53.8 kB / 439.3 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2829, allocations: 3.938 kB / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2829, allocations: 0 / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.2829, allocations: 0 / 439.3 MB, free: 36.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007505/0.2837, allocations: 438.4 kB / 439.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2837, allocations: 12 kB / 439.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2838, allocations: 9.969 kB / 439.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.2842, allocations: 241.2 kB / 440 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2842, allocations: 7.219 kB / 440 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2842, allocations: 7.25 kB / 440 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2843, allocations: 80.94 kB / 440.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2844, allocations: 0 / 440.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2844, allocations: 0 / 440.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2844, allocations: 0 / 440.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.2845, allocations: 50.25 kB / 440.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.285, allocations: 368.2 kB / 440.5 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2851, allocations: 76.75 kB / 440.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.2852, allocations: 36.53 kB / 440.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2852, allocations: 0 / 440.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2852, allocations: 30.56 kB / 440.6 MB, free: 35.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.2852, allocations: 0 / 440.6 MB, free: 35.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002408/0.2855, allocations: 127.9 kB / 440.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2855, allocations: 51.41 kB / 440.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.2858, allocations: 188.9 kB / 441 MB, free: 35.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2858, allocations: 32.17 kB / 441 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.2859, allocations: 108.2 kB / 441.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2859, allocations: 22.14 kB / 441.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.2859, allocations: 16.28 kB / 441.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.286, allocations: 328.6 kB / 441.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.286, allocations: 26.95 kB / 441.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.2861, allocations: 28.7 kB / 441.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.2862, allocations: 75.25 kB / 441.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2862, allocations: 0 / 441.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001349/0.2863, allocations: 112.1 kB / 441.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2863, allocations: 5.375 kB / 441.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.2863, allocations: 0 / 441.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2864, allocations: 0 / 441.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.2866, allocations: 29.91 kB / 441.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2866, allocations: 2.312 kB / 441.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2867, allocations: 21.22 kB / 441.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2867, allocations: 2.688 kB / 441.8 MB, free: 35.03 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 (8): * Single equations (assignments): 8 * 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 6.312e-05/0.2868, allocations: 130.5 kB / 441.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2868, allocations: 12.84 kB / 441.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.2869, allocations: 11.47 kB / 441.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2869, allocations: 2.75 kB / 441.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2869, allocations: 4 kB / 441.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2869, allocations: 0 / 441.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.287, allocations: 204.3 kB / 442.1 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.287, allocations: 3.938 kB / 442.1 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.2871, allocations: 15.92 kB / 442.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2871, allocations: 2.531 kB / 442.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2872, allocations: 4 kB / 442.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2872, allocations: 0 / 442.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2872, allocations: 2.875 kB / 442.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.2874, allocations: 235.8 kB / 442.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.2874, allocations: 90.08 kB / 442.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2875, allocations: 0 / 442.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2876, allocations: 14.81 kB / 442.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.2876, allocations: 6.75 kB / 442.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2877, allocations: 2.844 kB / 442.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.2879, allocations: 157.4 kB / 442.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2879, allocations: 0 / 442.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.2881, allocations: 19.94 kB / 442.7 MB, free: 34.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],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 (6): * Single equations (assignments): 6 * 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.661e-05/0.2882, allocations: 90.03 kB / 442.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.2884, allocations: 70.94 kB / 442.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2884, allocations: 0 / 442.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.2884, allocations: 39.23 kB / 442.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2887, allocations: 13.38 kB / 442.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.2892, allocations: 306.8 kB / 443.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2893, allocations: 0.7114 MB / 443.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2894, allocations: 14.31 kB / 443.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2894, allocations: 0 / 443.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of Templates: time 0.002469/0.2919, allocations: 1.29 MB / 445.2 MB, free: 33.14 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)