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.0007522/0.0007522, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0007989/0.0007989, allocations: 168.7 kB / 15.95 MB, free: 204 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.236/1.236, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1839/0.1839, allocations: 22.35 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8 kB / 379.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2243, allocations: 55.98 MB / 435.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001321/0.2257, allocations: 1.409 MB / 437.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.226, allocations: 145.9 kB / 437.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.226, allocations: 2.812 kB / 437.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.888e-05/0.2261, allocations: 11.02 kB / 437.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.2262, allocations: 18.05 kB / 437.5 MB, free: 37.23 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 8.976e-05/0.2263, allocations: 45.83 kB / 437.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2265, allocations: 119 kB / 437.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2266, allocations: 59.45 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.2266, allocations: 41.36 kB / 437.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.2267, allocations: 54.06 kB / 437.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.2267, allocations: 6.031 kB / 437.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.2268, allocations: 5.906 kB / 437.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.2268, allocations: 25.53 kB / 437.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.2268, allocations: 39.64 kB / 437.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.126e-05/0.2269, allocations: 90.72 kB / 438 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2269, allocations: 4 kB / 438 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2269, allocations: 0 / 438 MB, free: 37.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.2269, allocations: 0 / 438 MB, free: 37.01 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.0004146/0.2273, allocations: 417.1 kB / 438.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.2274, allocations: 8.375 kB / 438.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2274, allocations: 16.38 kB / 438.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2276, allocations: 209.9 kB / 438.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2276, allocations: 19.91 kB / 438.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.2276, allocations: 14.53 kB / 438.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.2279, allocations: 159.1 kB / 438.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2279, allocations: 3.953 kB / 438.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.228, allocations: 7.875 kB / 438.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.228, allocations: 3.188 kB / 438.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2283, allocations: 120.7 kB / 438.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.2289, allocations: 0.4905 MB / 439.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2291, allocations: 116.8 kB / 439.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.2293, allocations: 68.38 kB / 439.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.2293, allocations: 11.27 kB / 439.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.2294, allocations: 37.44 kB / 439.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.2294, allocations: 0 / 439.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005286/0.2299, allocations: 225.5 kB / 439.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.2299, allocations: 55.41 kB / 439.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.23, allocations: 130.7 kB / 440 MB, free: 35.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.23, allocations: 32.58 kB / 440.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.23, allocations: 128.3 kB / 440.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2301, allocations: 58.75 kB / 440.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.2301, allocations: 4 kB / 440.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.2301, allocations: 324.5 kB / 440.6 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2303, allocations: 53.77 kB / 440.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.2305, allocations: 88.3 kB / 440.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.2306, allocations: 61.91 kB / 440.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2306, allocations: 0 / 440.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003582/0.231, allocations: 212.2 kB / 441 MB, free: 34.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.231, allocations: 5.031 kB / 441 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.231, allocations: 0 / 441 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.231, allocations: 2.562 kB / 441 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.2314, allocations: 53.78 kB / 441 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2314, allocations: 0 / 441 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2315, allocations: 29.5 kB / 441.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2316, allocations: 13.91 kB / 441.1 MB, free: 34.77 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 (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 initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 6.805e-05/0.2316, allocations: 123.6 kB / 441.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.2317, allocations: 16.89 kB / 441.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.2321, allocations: 206.2 kB / 441.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2321, allocations: 2.562 kB / 441.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2321, allocations: 10.62 kB / 441.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2321, allocations: 3.188 kB / 441.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.2323, allocations: 250.2 kB / 441.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2323, allocations: 0 / 441.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.2326, allocations: 48.58 kB / 441.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2326, allocations: 0 / 441.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2326, allocations: 7.016 kB / 441.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2326, allocations: 3.984 kB / 441.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2326, allocations: 3.938 kB / 441.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.2332, allocations: 355.1 kB / 442.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.2332, allocations: 99.66 kB / 442.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.2332, allocations: 2.688 kB / 442.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2334, allocations: 27.92 kB / 442.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.2335, allocations: 36.75 kB / 442.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2335, allocations: 2.594 kB / 442.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.2335, allocations: 97.89 kB / 442.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2335, allocations: 0 / 442.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.2338, allocations: 39.55 kB / 442.4 MB, free: 33.85 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 (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 6.599e-05/0.2338, allocations: 104.8 kB / 442.5 MB, free: 33.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.2342, allocations: 164.7 kB / 442.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2342, allocations: 0 / 442.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.2344, allocations: 90.12 kB / 442.7 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2347, allocations: 12.34 kB / 442.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.2352, allocations: 447.9 kB / 443.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2354, allocations: 0.728 MB / 443.9 MB, free: 32.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2355, allocations: 24.98 kB / 443.9 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.2355, allocations: 15.91 kB / 444 MB, free: 32.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2355, allocations: 0 / 444 MB, free: 32.67 MB / 350.1 MB Notification: Performance of Templates: time 0.003145/0.2387, allocations: 1.41 MB / 445.4 MB, free: 32.56 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)