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.005502/0.005502, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001201/0.001202, allocations: 196 kB / 16.67 MB, free: 5.52 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.366/1.366, allocations: 222.9 MB / 240.4 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.09414/0.09414, allocations: 22.33 MB / 312.8 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 434.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 54.94 MB / 489.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003672/0.1186, allocations: 1.737 MB / 491.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004405/0.1191, allocations: 147.5 kB / 491.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1192, allocations: 7.938 kB / 491.8 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1194, allocations: 23.73 kB / 491.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1196, allocations: 23.86 kB / 491.8 MB, free: 4.918 MB / 366.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.0001502/0.1197, allocations: 47.88 kB / 491.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1199, allocations: 147.7 kB / 492 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1201, allocations: 71.94 kB / 492.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.1202, allocations: 59.77 kB / 492.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1203, allocations: 79.55 kB / 492.2 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1203, allocations: 15.94 kB / 492.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.1204, allocations: 12 kB / 492.2 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.1204, allocations: 27.91 kB / 492.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.1205, allocations: 67.59 kB / 492.3 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1207, allocations: 131.5 kB / 492.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1207, allocations: 4 kB / 492.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1207, allocations: 0 / 492.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1207, allocations: 0 / 492.5 MB, free: 4.262 MB / 366.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.0006628/0.1214, allocations: 439 kB / 492.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1214, allocations: 12.03 kB / 492.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.1215, allocations: 16.75 kB / 492.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1218, allocations: 216 kB / 493.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1218, allocations: 12.38 kB / 493.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1219, allocations: 28.38 kB / 493.2 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.1223, allocations: 153.7 kB / 493.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1223, allocations: 192 / 493.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1223, allocations: 11.94 kB / 493.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1223, allocations: 7.938 kB / 493.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.1227, allocations: 119.8 kB / 493.5 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.1236, allocations: 0.4885 MB / 493.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.1239, allocations: 117.1 kB / 494.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1241, allocations: 72.81 kB / 494.1 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1241, allocations: 3.938 kB / 494.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1241, allocations: 38.5 kB / 494.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.1242, allocations: 0 / 494.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006881/0.1248, allocations: 225.7 kB / 494.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1249, allocations: 51.41 kB / 494.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.125, allocations: 140.7 kB / 494.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.125, allocations: 33.7 kB / 494.6 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1251, allocations: 112.4 kB / 494.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1252, allocations: 63.11 kB / 494.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.1252, allocations: 41.7 kB / 494.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1254, allocations: 330.8 kB / 495.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.1256, allocations: 59.95 kB / 495.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1258, allocations: 81.61 kB / 495.3 MB, free: 1.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.1261, allocations: 142 kB / 495.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1262, allocations: 0 / 495.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00046/0.1266, allocations: 201.3 kB / 495.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1266, allocations: 7.938 kB / 495.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1267, allocations: 0 / 495.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1267, allocations: 4 kB / 495.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.1271, allocations: 59.92 kB / 495.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1271, allocations: 7.938 kB / 495.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1273, allocations: 27.81 kB / 495.7 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1273, allocations: 4 kB / 495.7 MB, free: 0.7578 MB / 366.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.0001056/0.1274, allocations: 130.6 kB / 495.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1275, allocations: 15.84 kB / 495.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.128, allocations: 217.3 kB / 496.1 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.128, allocations: 3.938 kB / 496.1 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.128, allocations: 4 kB / 496.1 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.128, allocations: 3.984 kB / 496.1 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1283, allocations: 241.6 kB / 496.3 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1283, allocations: 4 kB / 496.3 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.1286, allocations: 51.91 kB / 496.4 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1287, allocations: 0 / 496.4 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.1287, allocations: 11.92 kB / 496.4 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1287, allocations: 0 / 496.4 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1287, allocations: 4 kB / 496.4 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.1295, allocations: 351.2 kB / 496.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.1295, allocations: 96.92 kB / 496.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1296, allocations: 7.938 kB / 496.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1298, allocations: 19.97 kB / 496.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.1299, allocations: 31.95 kB / 496.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1299, allocations: 4 kB / 496.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.15e-05/0.13, allocations: 95.27 kB / 497 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.13, allocations: 0 / 497 MB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1303, allocations: 39.94 kB / 497 MB, free: 15.35 MB / 382.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.000114/0.1304, allocations: 103.2 kB / 497.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1309, allocations: 163.7 kB / 497.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1309, allocations: 0 / 497.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.1311, allocations: 87.95 kB / 497.4 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1314, allocations: 12 kB / 497.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.1322, allocations: 394.4 kB / 497.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1325, allocations: 0.7318 MB / 498.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1326, allocations: 17.42 kB / 498.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.1327, allocations: 27.44 kB / 498.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1327, allocations: 0 / 498.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.004634/0.1373, allocations: 1.794 MB / 0.4886 GB, free: 11.98 MB / 382.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)