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.001262/0.001263, allocations: 104 kB / 16.35 MB, free: 5.824 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.0012/0.0012, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09286/0.09286, allocations: 22.34 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 59.44 kB / 380.1 MB, free: 42.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09885, allocations: 54.95 MB / 435.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002889/0.1018, allocations: 1.738 MB / 436.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.1021, allocations: 147.5 kB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.1022, allocations: 7.875 kB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1023, allocations: 19.8 kB / 437 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1025, allocations: 19.81 kB / 437 MB, free: 12.41 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.1026, allocations: 55.91 kB / 437.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1028, allocations: 143.7 kB / 437.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.103, allocations: 78.36 kB / 437.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.1031, allocations: 59.77 kB / 437.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.1032, allocations: 71.62 kB / 437.4 MB, free: 12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1032, allocations: 12 kB / 437.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.1032, allocations: 16 kB / 437.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.1033, allocations: 39.83 kB / 437.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.1033, allocations: 67.59 kB / 437.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1035, allocations: 127.5 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1035, allocations: 4 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1035, allocations: 0 / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1035, allocations: 0 / 437.7 MB, free: 11.74 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.0006269/0.1041, allocations: 443 kB / 438.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1042, allocations: 8.031 kB / 438.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1042, allocations: 16.75 kB / 438.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1045, allocations: 212.1 kB / 438.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1045, allocations: 12.38 kB / 438.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1046, allocations: 20.38 kB / 438.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.1049, allocations: 157.6 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1049, allocations: 4.188 kB / 438.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.105, allocations: 7.938 kB / 438.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.105, allocations: 4 kB / 438.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1053, allocations: 119.8 kB / 438.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.1061, allocations: 0.4998 MB / 439.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.1064, allocations: 116.6 kB / 439.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.1066, allocations: 68.83 kB / 439.3 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.1066, allocations: 11.98 kB / 439.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1067, allocations: 38.48 kB / 439.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.1067, allocations: 0 / 439.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006275/0.1073, allocations: 221.7 kB / 439.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1073, allocations: 55.41 kB / 439.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1075, allocations: 136.5 kB / 439.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1075, allocations: 29.7 kB / 439.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.1075, allocations: 112.3 kB / 439.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.1076, allocations: 67.02 kB / 440 MB, free: 9.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.1077, allocations: 49.69 kB / 440 MB, free: 9.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1078, allocations: 322.8 kB / 440.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.108, allocations: 55.97 kB / 440.4 MB, free: 8.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1082, allocations: 93.59 kB / 440.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1085, allocations: 133.6 kB / 440.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1085, allocations: 0 / 440.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004328/0.1089, allocations: 205.8 kB / 440.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.109, allocations: 7.938 kB / 440.8 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.109, allocations: 7.938 kB / 440.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.109, allocations: 0 / 440.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.1094, allocations: 55.95 kB / 440.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1094, allocations: 0 / 440.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1096, allocations: 31.86 kB / 440.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1096, allocations: 4 kB / 440.9 MB, free: 8.238 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 9.825e-05/0.1097, allocations: 134.5 kB / 441.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1098, allocations: 15.75 kB / 441.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.1103, allocations: 206.3 kB / 441.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1103, allocations: 11.98 kB / 441.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1103, allocations: 0 / 441.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1103, allocations: 3.938 kB / 441.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1105, allocations: 257.4 kB / 441.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1106, allocations: 4 kB / 441.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1108, allocations: 47.97 kB / 441.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1109, allocations: 0 / 441.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1109, allocations: 3.938 kB / 441.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1109, allocations: 4 kB / 441.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1109, allocations: 4 kB / 441.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.1115, allocations: 354.7 kB / 442 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1116, allocations: 92.94 kB / 442 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1116, allocations: 8 kB / 442.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1118, allocations: 19.98 kB / 442.1 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.1119, allocations: 31.95 kB / 442.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1119, allocations: 8 kB / 442.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.1119, allocations: 95.25 kB / 442.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.112, allocations: 0 / 442.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1122, allocations: 39.84 kB / 442.2 MB, free: 6.828 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 9.365e-05/0.1123, allocations: 103.2 kB / 442.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.1127, allocations: 163.7 kB / 442.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1128, allocations: 0 / 442.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.113, allocations: 83.89 kB / 442.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1133, allocations: 16 kB / 442.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.114, allocations: 390.6 kB / 443 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1142, allocations: 0.7163 MB / 443.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.872e-05/0.1143, allocations: 25.42 kB / 443.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.1144, allocations: 19.44 kB / 443.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1144, allocations: 0 / 443.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Templates: time 0.00416/0.1186, allocations: 1.778 MB / 445.5 MB, free: 3.488 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 gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)