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.001824/0.001824, allocations: 107.6 kB / 15.79 MB, free: 5.484 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.002018/0.002018, allocations: 200.9 kB / 16.73 MB, free: 5.363 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.458/1.458, allocations: 225.6 MB / 243.1 MB, free: 3.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09972/0.09972, allocations: 22.68 MB / 318.7 MB, free: 9.793 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.59 kB / 446.8 MB, free: 41.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1346, allocations: 58.03 MB / 0.493 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003096/0.1377, allocations: 1.741 MB / 0.4947 GB, free: 9.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004256/0.1381, allocations: 153.7 kB / 0.4949 GB, free: 8.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.1382, allocations: 1.156 kB / 0.4949 GB, free: 8.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1383, allocations: 20.73 kB / 0.4949 GB, free: 8.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1385, allocations: 23.12 kB / 0.4949 GB, free: 8.871 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.0001582/0.1386, allocations: 62.38 kB / 0.495 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1389, allocations: 149.2 kB / 0.4951 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1391, allocations: 54.44 kB / 0.4952 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.1391, allocations: 59.77 kB / 0.4952 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1393, allocations: 67.67 kB / 0.4953 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1393, allocations: 12 kB / 0.4953 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.1393, allocations: 12 kB / 0.4953 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.1394, allocations: 43.78 kB / 0.4954 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.1394, allocations: 67.66 kB / 0.4954 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1396, allocations: 135.2 kB / 0.4956 GB, free: 8.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1396, allocations: 0 / 0.4956 GB, free: 8.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1396, allocations: 4 kB / 0.4956 GB, free: 8.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1396, allocations: 0 / 0.4956 GB, free: 8.277 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.0006362/0.1403, allocations: 442.8 kB / 0.496 GB, free: 7.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1403, allocations: 8.031 kB / 0.496 GB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.1404, allocations: 16.84 kB / 0.496 GB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1406, allocations: 216.1 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.1406, allocations: 12.38 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1407, allocations: 16.38 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.141, allocations: 161.6 kB / 0.4964 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.141, allocations: 192 / 0.4964 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.141, allocations: 7.938 kB / 0.4964 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.141, allocations: 7.984 kB / 0.4964 GB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.1414, allocations: 119.9 kB / 0.4965 GB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007539/0.1421, allocations: 0.4924 MB / 0.497 GB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.1424, allocations: 110.5 kB / 0.4971 GB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1425, allocations: 68.83 kB / 0.4972 GB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.1426, allocations: 3.984 kB / 0.4972 GB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1426, allocations: 42.5 kB / 0.4972 GB, free: 6.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.1426, allocations: 0 / 0.4972 GB, free: 6.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006233/0.1432, allocations: 231.1 kB / 0.4974 GB, free: 6.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1432, allocations: 51.41 kB / 0.4975 GB, free: 6.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1433, allocations: 133.1 kB / 0.4976 GB, free: 5.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1434, allocations: 29.7 kB / 0.4976 GB, free: 5.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.1434, allocations: 116.5 kB / 0.4977 GB, free: 5.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1435, allocations: 75.34 kB / 0.4978 GB, free: 5.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.1435, allocations: 49.7 kB / 0.4979 GB, free: 5.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.1436, allocations: 322.8 kB / 0.4982 GB, free: 5.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1438, allocations: 55.97 kB / 0.4982 GB, free: 5.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1439, allocations: 82.75 kB / 0.4983 GB, free: 5.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.1442, allocations: 146.9 kB / 0.4984 GB, free: 5.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1442, allocations: 0 / 0.4984 GB, free: 5.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003741/0.1446, allocations: 197.5 kB / 0.4986 GB, free: 4.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1446, allocations: 15.88 kB / 0.4987 GB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1446, allocations: 4.031 kB / 0.4987 GB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1446, allocations: 0 / 0.4987 GB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.145, allocations: 59.95 kB / 0.4987 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.145, allocations: 0 / 0.4987 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1452, allocations: 23.88 kB / 0.4987 GB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1452, allocations: 8 kB / 0.4987 GB, free: 4.777 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 8.737e-05/0.1453, allocations: 133.7 kB / 0.4989 GB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1453, allocations: 19.83 kB / 0.4989 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.1458, allocations: 208.7 kB / 0.4991 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1458, allocations: 0 / 0.4991 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1458, allocations: 0 / 0.4991 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1458, allocations: 3.938 kB / 0.4991 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.146, allocations: 257.5 kB / 0.4993 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.146, allocations: 0 / 0.4993 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1462, allocations: 47.97 kB / 0.4994 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1462, allocations: 0 / 0.4994 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1463, allocations: 11.94 kB / 0.4994 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1463, allocations: 0 / 0.4994 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1463, allocations: 0 / 0.4994 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.1468, allocations: 361.1 kB / 0.4997 GB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.1468, allocations: 92.98 kB / 0.4998 GB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1469, allocations: 12 kB / 0.4998 GB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.147, allocations: 11.98 kB / 0.4999 GB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.1471, allocations: 31.95 kB / 0.4999 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1471, allocations: 11.92 kB / 0.4999 GB, free: 3.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.1471, allocations: 103.3 kB / 0.5 GB, free: 3.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1471, allocations: 0 / 0.5 GB, free: 3.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1474, allocations: 35.89 kB / 0.5 GB, free: 3.363 MB / 366.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.0001023/0.1475, allocations: 103.2 kB / 0.5001 GB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.1479, allocations: 147.7 kB / 0.5003 GB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1479, allocations: 4.062 kB / 0.5003 GB, free: 3.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.148, allocations: 87.89 kB / 0.5004 GB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1483, allocations: 14.34 kB / 0.5004 GB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.149, allocations: 389.9 kB / 0.5007 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.1492, allocations: 0.7241 MB / 0.5014 GB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.1494, allocations: 25.42 kB / 0.5015 GB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.1494, allocations: 23.44 kB / 0.5015 GB, free: 1.805 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1494, allocations: 0 / 0.5015 GB, free: 1.805 MB / 366.1 MB Notification: Performance of Templates: time 0.006242/0.1557, allocations: 1.834 MB / 0.5033 GB, free: 15.97 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)