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.0009489/0.0009489, allocations: 99.11 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.001052/0.001052, allocations: 187 kB / 16.92 MB, free: 6.75 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.188/0.188, allocations: 22.35 MB / 314.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 11.98 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.231, allocations: 55.99 MB / 437.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001398/0.2324, allocations: 1.448 MB / 438.6 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.2328, allocations: 252.5 kB / 438.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2329, allocations: 3 kB / 438.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.992e-05/0.233, allocations: 11.25 kB / 438.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.2331, allocations: 17.91 kB / 438.9 MB, free: 37.4 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.0001164/0.2332, allocations: 61.58 kB / 439 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2334, allocations: 151.4 kB / 439.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2335, allocations: 69.52 kB / 439.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.2336, allocations: 48.73 kB / 439.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.2337, allocations: 59.44 kB / 439.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2337, allocations: 6.656 kB / 439.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.2337, allocations: 5.406 kB / 439.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.2337, allocations: 17.62 kB / 439.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.2338, allocations: 94.8 kB / 439.4 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.912e-05/0.2339, allocations: 88.59 kB / 439.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2339, allocations: 4 kB / 439.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2339, allocations: 0 / 439.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2339, allocations: 0 / 439.5 MB, free: 37.11 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.0003498/0.2343, allocations: 471.3 kB / 440 MB, free: 36.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2343, allocations: 13.25 kB / 440 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.2344, allocations: 20.91 kB / 440 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2345, allocations: 212.8 kB / 440.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2345, allocations: 12.88 kB / 440.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.2346, allocations: 16.16 kB / 440.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.2349, allocations: 166.7 kB / 440.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.2349, allocations: 192 / 440.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.2349, allocations: 6.75 kB / 440.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.235, allocations: 6.844 kB / 440.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.2353, allocations: 100.5 kB / 440.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.2359, allocations: 478.4 kB / 441 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.2361, allocations: 163.9 kB / 441.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2363, allocations: 135 kB / 441.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2364, allocations: 6.609 kB / 441.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.2366, allocations: 160.3 kB / 441.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.2367, allocations: 3.938 kB / 441.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.000716/0.2374, allocations: 354.5 kB / 441.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2374, allocations: 127.6 kB / 441.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.2375, allocations: 144.5 kB / 442 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2375, allocations: 32.17 kB / 442.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.2376, allocations: 108.6 kB / 442.2 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.2376, allocations: 59.55 kB / 442.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2376, allocations: 31.84 kB / 442.3 MB, free: 34.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.2377, allocations: 327.7 kB / 442.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2379, allocations: 57.33 kB / 442.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.238, allocations: 118.8 kB / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.2384, allocations: 282.2 kB / 443 MB, free: 34.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2384, allocations: 0 / 443 MB, free: 34.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004727/0.2389, allocations: 306.1 kB / 443.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.2389, allocations: 70.14 kB / 443.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2389, allocations: 4.188 kB / 443.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2389, allocations: 9.938 kB / 443.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2391, allocations: 26.2 kB / 443.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2391, allocations: 4.719 kB / 443.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2393, allocations: 36.97 kB / 443.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2393, allocations: 7.906 kB / 443.5 MB, free: 34.07 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 9.76e-05/0.2394, allocations: 186.4 kB / 443.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.2394, allocations: 14.97 kB / 443.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.24, allocations: 340.4 kB / 444 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.24, allocations: 2.906 kB / 444 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.24, allocations: 0 / 444 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2401, allocations: 3.328 kB / 444 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.2402, allocations: 248.7 kB / 444.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2402, allocations: 0 / 444.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2403, allocations: 20.98 kB / 444.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2403, allocations: 0 / 444.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.2404, allocations: 17.5 kB / 444.3 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2404, allocations: 0 / 444.3 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2404, allocations: 0 / 444.3 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.2411, allocations: 467.3 kB / 444.8 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2412, allocations: 91.7 kB / 444.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2412, allocations: 5.656 kB / 444.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2414, allocations: 26.41 kB / 444.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.2415, allocations: 25.89 kB / 444.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2415, allocations: 8.859 kB / 444.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.2415, allocations: 93.67 kB / 445 MB, free: 33.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2415, allocations: 6.75 kB / 445 MB, free: 33.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.2418, allocations: 49.09 kB / 445.1 MB, free: 33.03 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 8.251e-05/0.2419, allocations: 101.4 kB / 445.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.2423, allocations: 367.5 kB / 445.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2424, allocations: 0 / 445.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.2426, allocations: 291.1 kB / 445.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2429, allocations: 24.34 kB / 445.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.2435, allocations: 442.3 kB / 446.3 MB, free: 32.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.2436, allocations: 0.7176 MB / 447 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.2436, allocations: 14.28 kB / 447 MB, free: 31.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2436, allocations: 0 / 447 MB, free: 31.48 MB / 350.1 MB Notification: Performance of Templates: time 0.002823/0.2465, allocations: 1.899 MB / 448.9 MB, free: 31.34 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)