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.001394/0.001394, allocations: 108 kB / 16.37 MB, free: 6.477 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.001563/0.001563, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0879/0.0879, allocations: 22.32 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.81 kB / 380.1 MB, free: 42.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09185, allocations: 54.96 MB / 435.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.00343/0.09533, allocations: 1.738 MB / 436.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003858/0.09573, allocations: 155.5 kB / 437 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.09583, allocations: 0 / 437 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.09597, allocations: 23.73 kB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.09613, allocations: 19.8 kB / 437 MB, free: 12.43 MB / 318.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.0001261/0.09626, allocations: 55.94 kB / 437.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.09647, allocations: 139.7 kB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.09666, allocations: 71.94 kB / 437.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.09673, allocations: 63.7 kB / 437.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.09684, allocations: 75.61 kB / 437.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.09688, allocations: 12 kB / 437.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.099e-05/0.09692, allocations: 12 kB / 437.4 MB, free: 12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.09696, allocations: 27.92 kB / 437.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.09703, allocations: 71.58 kB / 437.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.09722, allocations: 127.5 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.09723, allocations: 0 / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09724, allocations: 0 / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.09725, allocations: 4 kB / 437.7 MB, free: 11.77 MB / 318.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.00073/0.09799, allocations: 443 kB / 438.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.09804, allocations: 8.031 kB / 438.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.09811, allocations: 20.69 kB / 438.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.09843, allocations: 216 kB / 438.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.09848, allocations: 16.38 kB / 438.3 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.09853, allocations: 16.38 kB / 438.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.09894, allocations: 165.6 kB / 438.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.09896, allocations: 192 / 438.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.09899, allocations: 7.938 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.099, allocations: 4 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.09935, allocations: 127.9 kB / 438.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.1003, allocations: 499.8 kB / 439.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1006, allocations: 118.5 kB / 439.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1008, allocations: 75.22 kB / 439.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1008, allocations: 4 kB / 439.3 MB, free: 9.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.1009, allocations: 38.5 kB / 439.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.1009, allocations: 0 / 439.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006491/0.1015, allocations: 221.8 kB / 439.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1016, allocations: 59.34 kB / 439.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1017, allocations: 129.8 kB / 439.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1017, allocations: 29.64 kB / 439.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.1018, allocations: 124.3 kB / 439.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.1019, allocations: 63.02 kB / 440 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.102, allocations: 53.7 kB / 440 MB, free: 9.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1021, allocations: 318.8 kB / 440.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1023, allocations: 59.95 kB / 440.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.1025, allocations: 85.61 kB / 440.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.1028, allocations: 133.7 kB / 440.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1028, allocations: 0 / 440.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004306/0.1032, allocations: 201.8 kB / 440.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1033, allocations: 10.44 kB / 440.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1033, allocations: 0 / 440.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1033, allocations: 11.97 kB / 440.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.1037, allocations: 55.89 kB / 440.9 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.1037, allocations: 4 kB / 440.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1039, allocations: 27.81 kB / 440.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1039, allocations: 12 kB / 440.9 MB, free: 8.25 MB / 318.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 0.0001156/0.104, allocations: 126.5 kB / 441.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1041, allocations: 23.75 kB / 441.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.1046, allocations: 202.4 kB / 441.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1046, allocations: 4 kB / 441.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1046, allocations: 0 / 441.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1046, allocations: 0 / 441.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.1049, allocations: 257.4 kB / 441.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1049, allocations: 0 / 441.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.1052, allocations: 51.89 kB / 441.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1052, allocations: 4 kB / 441.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1052, allocations: 7.938 kB / 441.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1052, allocations: 0 / 441.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1053, allocations: 0 / 441.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.1059, allocations: 361.2 kB / 442 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.106, allocations: 88.95 kB / 442 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.106, allocations: 8 kB / 442.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1062, allocations: 15.97 kB / 442.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.1063, allocations: 35.89 kB / 442.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1063, allocations: 4 kB / 442.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.1064, allocations: 101.9 kB / 442.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1064, allocations: 4 kB / 442.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1067, allocations: 35.84 kB / 442.2 MB, free: 6.852 MB / 318.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 0.0001134/0.1068, allocations: 99.25 kB / 442.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.1072, allocations: 163.7 kB / 442.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1073, allocations: 0 / 442.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.1075, allocations: 94.91 kB / 442.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1078, allocations: 15.98 kB / 442.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.1086, allocations: 386.5 kB / 443 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1089, allocations: 0.7241 MB / 443.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.979e-05/0.109, allocations: 25.36 kB / 443.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1091, allocations: 23.44 kB / 443.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1091, allocations: 0 / 443.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of Templates: time 0.004654/0.1137, allocations: 1.771 MB / 445.5 MB, free: 3.508 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)