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: "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 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.001125/0.001125, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.197/0.197, allocations: 22.34 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 71.89 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.253, allocations: 54.93 MB / 433.8 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.00254/0.2555, allocations: 1.742 MB / 435.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004485/0.256, allocations: 226.8 kB / 435.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.2561, allocations: 0 / 435.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2562, allocations: 29.88 kB / 435.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2563, allocations: 21.52 kB / 435.8 MB, free: 37.28 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.0001279/0.2565, allocations: 64.22 kB / 435.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.2567, allocations: 181.2 kB / 436 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2568, allocations: 79.44 kB / 436.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.2569, allocations: 62.78 kB / 436.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.257, allocations: 81.09 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.257, allocations: 14.38 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.257, allocations: 18.38 kB / 436.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2571, allocations: 28.81 kB / 436.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.2571, allocations: 72.88 kB / 436.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.2573, allocations: 134.3 kB / 436.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2573, allocations: 2.844 kB / 436.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2573, allocations: 0 / 436.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2573, allocations: 0 / 436.5 MB, free: 36.92 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.0004642/0.2578, allocations: 496.7 kB / 437 MB, free: 36.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2578, allocations: 12.91 kB / 437 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.2579, allocations: 56.22 kB / 437 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.2579, allocations: 24.78 kB / 437.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2581, allocations: 219.3 kB / 437.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2581, allocations: 12.38 kB / 437.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.2582, allocations: 17.97 kB / 437.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.2585, allocations: 151.3 kB / 437.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2585, allocations: 3.938 kB / 437.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2585, allocations: 11.12 kB / 437.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2585, allocations: 2.969 kB / 437.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.2589, allocations: 95.73 kB / 437.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.2595, allocations: 483.8 kB / 438 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.2597, allocations: 160.2 kB / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2599, allocations: 142.6 kB / 438.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.26, allocations: 3.938 kB / 438.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.2603, allocations: 152 kB / 438.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.365e-06/0.2603, allocations: 0 / 438.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007322/0.261, allocations: 369.3 kB / 438.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2611, allocations: 116 kB / 439 MB, free: 35.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.2612, allocations: 142.3 kB / 439.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2612, allocations: 28.64 kB / 439.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2612, allocations: 127.4 kB / 439.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.2613, allocations: 47.84 kB / 439.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.2613, allocations: 53.77 kB / 439.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.2614, allocations: 323.8 kB / 439.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2616, allocations: 52.97 kB / 439.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2617, allocations: 130.7 kB / 439.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.2621, allocations: 272.3 kB / 440.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2621, allocations: 0 / 440.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004731/0.2626, allocations: 319.5 kB / 440.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.2626, allocations: 73.55 kB / 440.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2626, allocations: 2.594 kB / 440.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2627, allocations: 6.984 kB / 440.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2628, allocations: 30.61 kB / 440.5 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2628, allocations: 7.875 kB / 440.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.263, allocations: 34.09 kB / 440.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.263, allocations: 11.62 kB / 440.6 MB, free: 33.8 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.743e-05/0.2631, allocations: 176.2 kB / 440.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2632, allocations: 28.38 kB / 440.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005857/0.2638, allocations: 336.2 kB / 441.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2638, allocations: 0 / 441.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2638, allocations: 0 / 441.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2638, allocations: 0 / 441.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2639, allocations: 248.4 kB / 441.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2639, allocations: 0 / 441.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.2641, allocations: 24.45 kB / 441.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2641, allocations: 3.938 kB / 441.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2641, allocations: 9.562 kB / 441.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2641, allocations: 7.938 kB / 441.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2641, allocations: 0 / 441.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.2649, allocations: 447.7 kB / 441.9 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.2649, allocations: 96.05 kB / 441.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.265, allocations: 13.94 kB / 442 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.2651, allocations: 18.92 kB / 442 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2652, allocations: 22.75 kB / 442 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2652, allocations: 9.594 kB / 442 MB, free: 32.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.2653, allocations: 98.5 kB / 442.1 MB, free: 32.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2653, allocations: 0 / 442.1 MB, free: 32.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.2656, allocations: 45.06 kB / 442.1 MB, free: 32.77 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.0009127/0.2665, allocations: 0.9953 MB / 443.1 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.267, allocations: 372.6 kB / 443.5 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.267, allocations: 0 / 443.5 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.2673, allocations: 291 kB / 443.8 MB, free: 31.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.2675, allocations: 16.69 kB / 443.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.2697, allocations: 2.099 MB / 445.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2698, allocations: 0.7208 MB / 446.6 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.362e-05/0.2699, allocations: 20.61 kB / 446.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.27, allocations: 50.17 kB / 446.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.27, allocations: 0 / 446.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.2912, allocations: 3.288 MB / 450 MB, free: 28.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.642, allocations: 27.16 kB / 450 MB, free: 28.7 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_digital_PI_awfb_full_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)