Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.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_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008712, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.006409/0.006409, allocations: 171.2 kB / 16.26 MB, free: 6.68 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.35 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 8 kB / 380.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.331, allocations: 55.96 MB / 436.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001851/0.3329, allocations: 1.445 MB / 437.9 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000375/0.3333, allocations: 151.4 kB / 438.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.3334, allocations: 3.031 kB / 438.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.568e-05/0.3335, allocations: 7.875 kB / 438.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3336, allocations: 18.88 kB / 438.1 MB, free: 37.22 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.3338, allocations: 49.14 kB / 438.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3339, allocations: 132.2 kB / 438.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.3341, allocations: 68.12 kB / 438.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.3342, allocations: 48.53 kB / 438.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.06e-05/0.3343, allocations: 61.27 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3343, allocations: 6.094 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.3343, allocations: 2.906 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.3344, allocations: 28.62 kB / 438.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.3344, allocations: 76.53 kB / 438.6 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3345, allocations: 114.7 kB / 438.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3346, allocations: 0 / 438.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3346, allocations: 0 / 438.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3346, allocations: 0 / 438.7 MB, free: 36.93 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005288/0.3351, allocations: 421.1 kB / 439.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3352, allocations: 15.34 kB / 439.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.3352, allocations: 16.69 kB / 439.1 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3354, allocations: 215.8 kB / 439.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.3354, allocations: 14 kB / 439.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.3355, allocations: 22.22 kB / 439.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3358, allocations: 162.4 kB / 439.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3358, allocations: 192 / 439.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3359, allocations: 10.81 kB / 439.5 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3359, allocations: 2.781 kB / 439.5 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.3362, allocations: 119.9 kB / 439.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.337, allocations: 0.4973 MB / 440.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3372, allocations: 116.5 kB / 440.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3374, allocations: 70.56 kB / 440.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3375, allocations: 2.531 kB / 440.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3375, allocations: 41.12 kB / 440.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3375, allocations: 4 kB / 440.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006359/0.3382, allocations: 224.8 kB / 440.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3382, allocations: 55.34 kB / 440.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.3383, allocations: 128.6 kB / 440.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3383, allocations: 29.7 kB / 440.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.3384, allocations: 116.6 kB / 440.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3384, allocations: 70.36 kB / 441 MB, free: 35.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.3384, allocations: 32.3 kB / 441 MB, free: 35.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.3385, allocations: 323.3 kB / 441.4 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3387, allocations: 56.97 kB / 441.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.3389, allocations: 83.39 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.3393, allocations: 138.7 kB / 441.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3393, allocations: 0 / 441.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004389/0.3397, allocations: 197.9 kB / 441.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3397, allocations: 12.88 kB / 441.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3397, allocations: 0 / 441.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3398, allocations: 2.219 kB / 441.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.3402, allocations: 68.27 kB / 441.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3402, allocations: 2.844 kB / 441.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.3404, allocations: 26.14 kB / 441.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3404, allocations: 13.08 kB / 441.9 MB, free: 34.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.552e-05/0.3405, allocations: 131.2 kB / 442.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3405, allocations: 13.59 kB / 442.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.341, allocations: 203.2 kB / 442.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.341, allocations: 3.125 kB / 442.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3411, allocations: 3.938 kB / 442.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3411, allocations: 3.938 kB / 442.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3413, allocations: 261.6 kB / 442.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3413, allocations: 0 / 442.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.3416, allocations: 41.05 kB / 442.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3416, allocations: 3.031 kB / 442.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3416, allocations: 11.94 kB / 442.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3416, allocations: 3.938 kB / 442.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3416, allocations: 0 / 442.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.3422, allocations: 360.9 kB / 443 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.3423, allocations: 87.48 kB / 443 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3423, allocations: 10.59 kB / 443.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3425, allocations: 14.5 kB / 443.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.3426, allocations: 42.55 kB / 443.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3426, allocations: 2.844 kB / 443.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.79e-05/0.3426, allocations: 98.75 kB / 443.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3426, allocations: 0 / 443.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3429, allocations: 37.44 kB / 443.2 MB, free: 33.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.621e-05/0.343, allocations: 107.5 kB / 443.3 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.3434, allocations: 164.1 kB / 443.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3434, allocations: 0 / 443.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3436, allocations: 83.28 kB / 443.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.344, allocations: 18.02 kB / 443.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.3447, allocations: 466.5 kB / 444.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.3448, allocations: 0.7265 MB / 444.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.345, allocations: 21.3 kB / 444.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.345, allocations: 19.03 kB / 444.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.345, allocations: 0 / 444.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of Templates: time 0.003704/0.3487, allocations: 1.457 MB / 446.3 MB, free: 32.39 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_analogue_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)