Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001773/0.001773, allocations: 195.2 kB / 16.25 MB, free: 6.621 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1896/0.1896, allocations: 22.36 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.84 kB / 378.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2897, allocations: 54.94 MB / 433.2 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002789/0.2926, allocations: 1.785 MB / 434.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.2929, allocations: 145.9 kB / 435.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.293, allocations: 2.812 kB / 435.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2931, allocations: 19.34 kB / 435.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.2933, allocations: 15.23 kB / 435.1 MB, free: 37.32 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.2934, allocations: 47.61 kB / 435.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2936, allocations: 148 kB / 435.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2938, allocations: 71.36 kB / 435.4 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.2938, allocations: 60.3 kB / 435.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.2939, allocations: 69.78 kB / 435.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.2939, allocations: 13.09 kB / 435.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.294, allocations: 17.03 kB / 435.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.294, allocations: 35.98 kB / 435.6 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.2941, allocations: 73.92 kB / 435.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2942, allocations: 113.3 kB / 435.8 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2942, allocations: 3.938 kB / 435.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2942, allocations: 0 / 435.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.2942, allocations: 0 / 435.8 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.0005523/0.2948, allocations: 448.9 kB / 436.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2948, allocations: 7.5 kB / 436.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.2949, allocations: 19.41 kB / 436.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.295, allocations: 212.6 kB / 436.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2951, allocations: 12.12 kB / 436.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2951, allocations: 18.91 kB / 436.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2954, allocations: 157.4 kB / 436.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2955, allocations: 192 / 436.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2955, allocations: 7.938 kB / 436.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2955, allocations: 5.719 kB / 436.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.2958, allocations: 123.4 kB / 436.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.2965, allocations: 0.5006 MB / 437.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.2968, allocations: 111.3 kB / 437.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.297, allocations: 73.06 kB / 437.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.297, allocations: 2.844 kB / 437.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.297, allocations: 37 kB / 437.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.193e-06/0.297, allocations: 0 / 437.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005988/0.2976, allocations: 228.6 kB / 437.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.2977, allocations: 58.25 kB / 437.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.2978, allocations: 131.7 kB / 437.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2978, allocations: 29.7 kB / 437.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.2978, allocations: 119.3 kB / 438 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.2979, allocations: 63.83 kB / 438.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.298, allocations: 46.25 kB / 438.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.298, allocations: 326.9 kB / 438.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2982, allocations: 60.64 kB / 438.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2984, allocations: 78.06 kB / 438.6 MB, free: 34.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.2987, allocations: 139.5 kB / 438.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2987, allocations: 4 kB / 438.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003781/0.2991, allocations: 203 kB / 438.9 MB, free: 34.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2991, allocations: 8.312 kB / 438.9 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2991, allocations: 3.938 kB / 438.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2991, allocations: 2.938 kB / 438.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2995, allocations: 55.77 kB / 439 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2996, allocations: 6.719 kB / 439 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2997, allocations: 34.73 kB / 439 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2997, allocations: 5.656 kB / 439 MB, free: 34.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 7.778e-05/0.2998, allocations: 134.2 kB / 439.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.2999, allocations: 14.56 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.3003, allocations: 210.5 kB / 439.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3003, allocations: 2.938 kB / 439.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3003, allocations: 3.938 kB / 439.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3003, allocations: 3.422 kB / 439.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3005, allocations: 257.7 kB / 439.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3005, allocations: 0 / 439.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3008, allocations: 48.86 kB / 439.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3008, allocations: 2.562 kB / 439.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3009, allocations: 3.938 kB / 439.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3009, allocations: 6.531 kB / 439.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3009, allocations: 0 / 439.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.3014, allocations: 355.3 kB / 440.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.3015, allocations: 91.3 kB / 440.2 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3015, allocations: 10.25 kB / 440.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3017, allocations: 17.98 kB / 440.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.3018, allocations: 35.17 kB / 440.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3018, allocations: 5.719 kB / 440.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.674e-05/0.3018, allocations: 99.83 kB / 440.3 MB, free: 33.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 440.3 MB, free: 33.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3021, allocations: 31.69 kB / 440.3 MB, free: 33.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.622e-05/0.3022, allocations: 108.5 kB / 440.5 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.3026, allocations: 161.4 kB / 440.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3026, allocations: 2.875 kB / 440.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3028, allocations: 84.05 kB / 440.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3032, allocations: 24.98 kB / 440.7 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.3038, allocations: 455.4 kB / 441.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.304, allocations: 0.7224 MB / 441.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.3041, allocations: 21.59 kB / 441.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.3042, allocations: 18.91 kB / 441.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3042, allocations: 0 / 441.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Templates: time 0.003598/0.3078, allocations: 1.528 MB / 443.5 MB, free: 32.42 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_analogue_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)