Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_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_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004844/0.004844, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001155/0.001155, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2307/0.2307, allocations: 22.36 MB / 312.9 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.45 kB / 435 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 54.97 MB / 489.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002345/0.1255, allocations: 1.75 MB / 491.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004672/0.126, allocations: 235.6 kB / 491.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1261, allocations: 4 kB / 491.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1262, allocations: 19.73 kB / 491.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1265, allocations: 23.73 kB / 492 MB, free: 1.262 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.1266, allocations: 59.88 kB / 492 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1269, allocations: 187.6 kB / 492.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1271, allocations: 75.94 kB / 492.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.1272, allocations: 63.72 kB / 492.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1273, allocations: 79.66 kB / 492.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.1273, allocations: 16 kB / 492.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.1273, allocations: 16 kB / 492.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.1274, allocations: 23.86 kB / 492.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.1274, allocations: 75.59 kB / 492.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1277, allocations: 143.4 kB / 492.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1277, allocations: 0 / 492.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1277, allocations: 0 / 492.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1277, allocations: 0 / 492.7 MB, free: 0.5312 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.000612/0.1283, allocations: 498.4 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1284, allocations: 8.031 kB / 493.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.1285, allocations: 20.75 kB / 493.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1288, allocations: 214 kB / 493.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.1288, allocations: 12.38 kB / 493.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.1289, allocations: 20.28 kB / 493.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1293, allocations: 166.6 kB / 493.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1293, allocations: 192 / 493.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1293, allocations: 11.94 kB / 493.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1294, allocations: 4 kB / 493.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1297, allocations: 99.88 kB / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.1305, allocations: 472.2 kB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1308, allocations: 166.5 kB / 494.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.131, allocations: 132.8 kB / 494.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1311, allocations: 8 kB / 494.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.1314, allocations: 154.7 kB / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.1314, allocations: 4 kB / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008008/0.1322, allocations: 360.3 kB / 495 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.1322, allocations: 114.8 kB / 495.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1324, allocations: 134 kB / 495.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1324, allocations: 33.7 kB / 495.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.1325, allocations: 116.3 kB / 495.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.1325, allocations: 55.28 kB / 495.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.1326, allocations: 49.7 kB / 495.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1327, allocations: 326.8 kB / 495.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1329, allocations: 59.95 kB / 495.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1331, allocations: 120.5 kB / 496 MB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.1335, allocations: 279 kB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1335, allocations: 4 kB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005537/0.1341, allocations: 309.6 kB / 496.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.1341, allocations: 71.42 kB / 496.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1342, allocations: 7.938 kB / 496.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1342, allocations: 0 / 496.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1344, allocations: 31.91 kB / 496.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1344, allocations: 4 kB / 496.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1345, allocations: 27.83 kB / 496.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1346, allocations: 12 kB / 496.7 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001486/0.1347, allocations: 187.4 kB / 496.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1348, allocations: 19.81 kB / 496.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.1355, allocations: 340.4 kB / 497.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1355, allocations: 4 kB / 497.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1355, allocations: 4 kB / 497.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1355, allocations: 0 / 497.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1357, allocations: 249.4 kB / 497.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1357, allocations: 0 / 497.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1359, allocations: 15.98 kB / 497.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1359, allocations: 0 / 497.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.1359, allocations: 15.92 kB / 497.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1359, allocations: 0 / 497.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1359, allocations: 4 kB / 497.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.1368, allocations: 459.6 kB / 498 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.1368, allocations: 92.8 kB / 498.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1369, allocations: 12.03 kB / 498.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1371, allocations: 24.03 kB / 498.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.1371, allocations: 23.97 kB / 498.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1372, allocations: 8 kB / 498.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.1372, allocations: 101.8 kB / 498.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1372, allocations: 0 / 498.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1375, allocations: 36 kB / 498.3 MB, free: 10.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001256/0.1376, allocations: 113.9 kB / 498.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.1383, allocations: 360 kB / 498.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1383, allocations: 4 kB / 498.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.1386, allocations: 291.3 kB / 499 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1388, allocations: 20.44 kB / 499 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.1396, allocations: 352.3 kB / 499.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1399, allocations: 0.7157 MB / 0.4884 GB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.14, allocations: 20.64 kB / 0.4884 GB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.14, allocations: 23.38 kB / 0.4884 GB, free: 8.504 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.14, allocations: 0 / 0.4884 GB, free: 8.504 MB / 366.1 MB Notification: Performance of Templates: time 0.004432/0.1444, allocations: 1.852 MB / 0.4902 GB, free: 6.656 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_digital_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)