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.0008055/0.0008055, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009359/0.0009359, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2081/0.2081, allocations: 22.36 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2619, allocations: 55.98 MB / 436 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001805/0.2637, allocations: 1.419 MB / 437.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.2642, allocations: 224.6 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.2643, allocations: 2.938 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.2644, allocations: 14.69 kB / 437.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.2645, allocations: 18.59 kB / 437.7 MB, free: 37.1 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.0001315/0.2646, allocations: 47.89 kB / 437.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2648, allocations: 134.8 kB / 437.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.265, allocations: 57.75 kB / 437.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.265, allocations: 49.06 kB / 438 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.2651, allocations: 57.22 kB / 438 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2652, allocations: 5.844 kB / 438 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.2652, allocations: 5.969 kB / 438 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.2652, allocations: 14.41 kB / 438 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.2653, allocations: 53.33 kB / 438.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.702e-05/0.2654, allocations: 98.62 kB / 438.2 MB, free: 36.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2654, allocations: 0 / 438.2 MB, free: 36.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2654, allocations: 0 / 438.2 MB, free: 36.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2654, allocations: 0 / 438.2 MB, free: 36.87 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.000403/0.2658, allocations: 470.1 kB / 438.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2658, allocations: 10.94 kB / 438.7 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2659, allocations: 55.56 kB / 438.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.2659, allocations: 16.5 kB / 438.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.2661, allocations: 210 kB / 438.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2661, allocations: 20.75 kB / 439 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.2662, allocations: 17.59 kB / 439 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.2665, allocations: 153.2 kB / 439.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2665, allocations: 0 / 439.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2665, allocations: 10.47 kB / 439.1 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2665, allocations: 9.031 kB / 439.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.2668, allocations: 102.5 kB / 439.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.2674, allocations: 476.5 kB / 439.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.2676, allocations: 165.7 kB / 439.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.2678, allocations: 138.3 kB / 440 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.2678, allocations: 6.719 kB / 440 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.2681, allocations: 156.3 kB / 440.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.2681, allocations: 0 / 440.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006763/0.2688, allocations: 355.3 kB / 440.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.2689, allocations: 123.7 kB / 440.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.2689, allocations: 134.5 kB / 440.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.269, allocations: 32.64 kB / 440.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.269, allocations: 123.6 kB / 440.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.2691, allocations: 56.84 kB / 441 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.2691, allocations: 2.656 kB / 441 MB, free: 34.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.2691, allocations: 328.4 kB / 441.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2693, allocations: 54.58 kB / 441.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2694, allocations: 116.3 kB / 441.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2696, allocations: 126.6 kB / 441.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2696, allocations: 4.109 kB / 441.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004218/0.27, allocations: 317.9 kB / 441.9 MB, free: 34.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.2701, allocations: 66.81 kB / 442 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2701, allocations: 6.797 kB / 442 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2701, allocations: 6.844 kB / 442 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2703, allocations: 24.48 kB / 442 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2703, allocations: 9.281 kB / 442 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2704, allocations: 32.16 kB / 442 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2704, allocations: 8 kB / 442 MB, free: 33.94 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,$PRE.C.HIsat,C.HIsat,$PRE.C.LOsat,C.LOsat,$PRE.C.xBias,C.xBias,$PRE.C.iBiaso,C.iBiaso,$PRE.C.fBias,C.fBias,$PRE.C.xfb,C.xfb,$PRE.C.ulin,C.ulin,$PRE.C.ulino,C.ulino,$PRE.C.u,C.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/0.2705, allocations: 180.2 kB / 442.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.2706, allocations: 16.19 kB / 442.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.2711, allocations: 343.1 kB / 442.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2711, allocations: 0 / 442.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2711, allocations: 2.5 kB / 442.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2712, allocations: 3.328 kB / 442.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2713, allocations: 247.6 kB / 442.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2713, allocations: 3.422 kB / 442.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2714, allocations: 22.44 kB / 442.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2714, allocations: 0 / 442.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2715, allocations: 6.938 kB / 442.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2715, allocations: 6.875 kB / 442.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2715, allocations: 0 / 442.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.2721, allocations: 453.7 kB / 443.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.2722, allocations: 95.2 kB / 443.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.2722, allocations: 6.094 kB / 443.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.2724, allocations: 29.12 kB / 443.4 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.2724, allocations: 28.14 kB / 443.5 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.2725, allocations: 9.5 kB / 443.5 MB, free: 33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.55e-05/0.2725, allocations: 99.83 kB / 443.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2725, allocations: 2.594 kB / 443.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.2727, allocations: 41.38 kB / 443.6 MB, free: 32.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008271/0.2736, allocations: 0.9959 MB / 444.6 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.274, allocations: 370.7 kB / 445 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.274, allocations: 0 / 445 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2743, allocations: 282.9 kB / 445.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.2745, allocations: 34.69 kB / 445.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2758, allocations: 0.9996 MB / 446.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2759, allocations: 0.7184 MB / 447 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.276, allocations: 20 kB / 447 MB, free: 30.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.2761, allocations: 41.89 kB / 447.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2761, allocations: 0 / 447.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.287, allocations: 2.819 MB / 449.9 MB, free: 30.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001046/0.2871, allocations: 180.6 kB / 450 MB, free: 29.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.993, allocations: 0 / 450 MB, free: 29.79 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1) Environment - environmentSimulation: