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.004417/0.004417, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001194/0.001194, allocations: 192.1 kB / 16.79 MB, free: 5.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.296/1.296, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1903/0.1903, allocations: 22.35 MB / 313 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 378.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2197, allocations: 54.94 MB / 433.6 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002339/0.2221, allocations: 1.802 MB / 435.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004464/0.2225, allocations: 263.9 kB / 435.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.2226, allocations: 0 / 435.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.2227, allocations: 14.53 kB / 435.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2228, allocations: 21.42 kB / 435.7 MB, free: 37.31 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.0001135/0.223, allocations: 53.8 kB / 435.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2231, allocations: 145.8 kB / 435.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2232, allocations: 73.31 kB / 436 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.2233, allocations: 53.92 kB / 436.1 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.2234, allocations: 79.95 kB / 436.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2234, allocations: 8.625 kB / 436.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.2234, allocations: 12.56 kB / 436.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.2235, allocations: 18 kB / 436.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.2235, allocations: 67.89 kB / 436.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.329e-05/0.2236, allocations: 101.9 kB / 436.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2236, allocations: 0 / 436.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2236, allocations: 2.906 kB / 436.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.2236, allocations: 3.938 kB / 436.4 MB, free: 37.02 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.0004043/0.2241, allocations: 496.6 kB / 436.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.2241, allocations: 12 kB / 436.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.2241, allocations: 24.25 kB / 436.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2243, allocations: 219.2 kB / 437.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2243, allocations: 12.97 kB / 437.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.2244, allocations: 26.69 kB / 437.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2247, allocations: 153.9 kB / 437.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2247, allocations: 3.188 kB / 437.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.2247, allocations: 3.938 kB / 437.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2247, allocations: 3.031 kB / 437.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.225, allocations: 98.16 kB / 437.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.2256, allocations: 479.5 kB / 437.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.2259, allocations: 161.1 kB / 438 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.2261, allocations: 136 kB / 438.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2261, allocations: 7.016 kB / 438.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.2264, allocations: 161.1 kB / 438.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2264, allocations: 0 / 438.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007086/0.2271, allocations: 354.4 kB / 438.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2271, allocations: 130.1 kB / 438.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.2272, allocations: 139.5 kB / 438.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2272, allocations: 32.2 kB / 438.9 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.2273, allocations: 115.2 kB / 439.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2273, allocations: 53.44 kB / 439.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.2274, allocations: 52.3 kB / 439.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.2274, allocations: 328 kB / 439.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2276, allocations: 55.59 kB / 439.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2278, allocations: 117.7 kB / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2281, allocations: 271.6 kB / 439.9 MB, free: 34.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2281, allocations: 0 / 439.9 MB, free: 34.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004624/0.2286, allocations: 316.7 kB / 440.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.2286, allocations: 66.06 kB / 440.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2286, allocations: 14.5 kB / 440.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2286, allocations: 2.562 kB / 440.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2288, allocations: 28.34 kB / 440.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.2288, allocations: 10.53 kB / 440.3 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2289, allocations: 28.5 kB / 440.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.229, allocations: 14.59 kB / 440.4 MB, free: 33.96 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.000105/0.2291, allocations: 182.8 kB / 440.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2291, allocations: 18.86 kB / 440.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/0.2297, allocations: 338.5 kB / 440.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2297, allocations: 0 / 440.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2297, allocations: 0 / 440.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2297, allocations: 3.469 kB / 440.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2298, allocations: 257.4 kB / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2299, allocations: 0 / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.23, allocations: 19.62 kB / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.23, allocations: 2.75 kB / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.23, allocations: 6.719 kB / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.23, allocations: 2.844 kB / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.23, allocations: 0 / 441.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.2308, allocations: 456 kB / 441.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.2308, allocations: 95.67 kB / 441.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.2308, allocations: 10.06 kB / 441.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.231, allocations: 18.27 kB / 441.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.2311, allocations: 30.73 kB / 441.8 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2311, allocations: 9.375 kB / 441.8 MB, free: 33.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.2311, allocations: 99.44 kB / 441.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 441.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.2314, allocations: 43.88 kB / 441.9 MB, free: 32.93 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 7.555e-05/0.2315, allocations: 105.9 kB / 442 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.232, allocations: 365.9 kB / 442.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.232, allocations: 0 / 442.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.2322, allocations: 290.2 kB / 442.7 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2324, allocations: 35.06 kB / 442.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.233, allocations: 417.9 kB / 443.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.821e-05/0.2332, allocations: 0.7205 MB / 443.9 MB, free: 31.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2332, allocations: 16 kB / 443.9 MB, free: 31.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2332, allocations: 0 / 443.9 MB, free: 31.38 MB / 350.1 MB Notification: Performance of Templates: time 0.002687/0.2359, allocations: 1.907 MB / 445.8 MB, free: 31.22 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)