Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_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_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 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.002425/0.002425, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2337/0.2337, allocations: 22.35 MB / 312.7 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 378.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3239, allocations: 54.94 MB / 433.7 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002887/0.3268, allocations: 1.744 MB / 435.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.3273, allocations: 227.2 kB / 435.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3274, allocations: 2.844 kB / 435.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3276, allocations: 19.03 kB / 435.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3277, allocations: 21.55 kB / 435.7 MB, free: 37.36 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.3279, allocations: 68.98 kB / 435.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.3281, allocations: 182.5 kB / 435.9 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3283, allocations: 75.88 kB / 436 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.3284, allocations: 62.23 kB / 436 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3285, allocations: 79.25 kB / 436.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.3285, allocations: 13.66 kB / 436.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.257e-05/0.3286, allocations: 15.03 kB / 436.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.3286, allocations: 24.73 kB / 436.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.3287, allocations: 79.94 kB / 436.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3288, allocations: 132.1 kB / 436.4 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3288, allocations: 6.531 kB / 436.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3289, allocations: 0 / 436.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.3289, allocations: 0 / 436.4 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005825/0.3295, allocations: 0.4918 MB / 436.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3295, allocations: 8.406 kB / 436.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.3296, allocations: 22.47 kB / 436.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3298, allocations: 216.2 kB / 437.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3298, allocations: 11.88 kB / 437.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.3298, allocations: 18.56 kB / 437.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.3302, allocations: 152.3 kB / 437.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3302, allocations: 4.188 kB / 437.3 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3302, allocations: 10.81 kB / 437.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3302, allocations: 2.875 kB / 437.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3305, allocations: 97.92 kB / 437.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.3312, allocations: 482.8 kB / 437.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.3315, allocations: 166.3 kB / 438 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.3317, allocations: 139.5 kB / 438.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3317, allocations: 2.938 kB / 438.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.332, allocations: 164.9 kB / 438.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.332, allocations: 4 kB / 438.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007617/0.3328, allocations: 356.8 kB / 438.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3329, allocations: 119.5 kB / 438.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.333, allocations: 143.3 kB / 439 MB, free: 35.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.333, allocations: 35.7 kB / 439 MB, free: 35.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.333, allocations: 117.6 kB / 439.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3331, allocations: 54.22 kB / 439.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.3332, allocations: 49.78 kB / 439.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3332, allocations: 324.6 kB / 439.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3334, allocations: 54.98 kB / 439.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3336, allocations: 127.2 kB / 439.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.3339, allocations: 274.1 kB / 440 MB, free: 34.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3339, allocations: 2.562 kB / 440 MB, free: 34.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004832/0.3344, allocations: 317 kB / 440.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.3345, allocations: 63.27 kB / 440.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3345, allocations: 10.33 kB / 440.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3345, allocations: 3.438 kB / 440.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3347, allocations: 29.88 kB / 440.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3347, allocations: 6.5 kB / 440.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3349, allocations: 30.08 kB / 440.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3349, allocations: 12.47 kB / 440.4 MB, free: 33.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001141/0.335, allocations: 182.8 kB / 440.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.335, allocations: 15.75 kB / 440.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.3356, allocations: 342.8 kB / 441 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3357, allocations: 5.516 kB / 441 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3357, allocations: 0 / 441 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3357, allocations: 0 / 441 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3359, allocations: 254.5 kB / 441.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3359, allocations: 0 / 441.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.336, allocations: 19.22 kB / 441.2 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.336, allocations: 4 kB / 441.2 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3361, allocations: 9.875 kB / 441.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3361, allocations: 3.141 kB / 441.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3361, allocations: 3.984 kB / 441.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.3369, allocations: 446.4 kB / 441.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.3369, allocations: 98.92 kB / 441.8 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.337, allocations: 9.469 kB / 441.8 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3371, allocations: 18.5 kB / 441.8 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.3372, allocations: 19.06 kB / 441.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3372, allocations: 12.91 kB / 441.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.3373, allocations: 94.84 kB / 441.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 64 / 441.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.3376, allocations: 46.53 kB / 442 MB, free: 32.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001105/0.3377, allocations: 118.7 kB / 442.1 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.3382, allocations: 375.3 kB / 442.5 MB, free: 32.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3382, allocations: 0 / 442.5 MB, free: 32.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.3385, allocations: 286.5 kB / 442.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3388, allocations: 28.41 kB / 442.8 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.3394, allocations: 349.8 kB / 443.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3396, allocations: 0.7192 MB / 443.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.894e-05/0.3397, allocations: 12.81 kB / 443.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.3397, allocations: 23.41 kB / 443.9 MB, free: 31.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3398, allocations: 0 / 443.9 MB, free: 31.41 MB / 350.1 MB Notification: Performance of Templates: time 0.003948/0.3437, allocations: 1.785 MB / 445.7 MB, free: 31.25 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_digital_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)