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.0008781/0.0008785, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005187/0.005187, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2421/0.2421, allocations: 22.34 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 380.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 55.97 MB / 436.5 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001598/0.3305, allocations: 1.444 MB / 437.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000467/0.331, allocations: 259.1 kB / 438.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.3311, allocations: 7.75 kB / 438.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.3312, allocations: 15.09 kB / 438.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3313, allocations: 15.08 kB / 438.2 MB, free: 37.06 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.0001184/0.3315, allocations: 49.41 kB / 438.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3316, allocations: 148.8 kB / 438.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3318, allocations: 69.38 kB / 438.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.3318, allocations: 56.97 kB / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.3319, allocations: 59.48 kB / 438.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.332, allocations: 5.281 kB / 438.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.332, allocations: 7.875 kB / 438.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.332, allocations: 15.17 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.3321, allocations: 94.64 kB / 438.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3322, allocations: 127.4 kB / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3322, allocations: 0 / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3322, allocations: 2.625 kB / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3322, allocations: 0 / 438.9 MB, free: 36.75 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.0004172/0.3327, allocations: 467.6 kB / 439.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3327, allocations: 14.66 kB / 439.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.3328, allocations: 21.59 kB / 439.3 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3329, allocations: 216.7 kB / 439.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.333, allocations: 13.62 kB / 439.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.333, allocations: 17.81 kB / 439.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.3333, allocations: 153.4 kB / 439.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3334, allocations: 192 / 439.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3334, allocations: 10.59 kB / 439.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3334, allocations: 5.531 kB / 439.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.3337, allocations: 105.5 kB / 439.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.3343, allocations: 481.8 kB / 440.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.3346, allocations: 161.9 kB / 440.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.3347, allocations: 141.9 kB / 440.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3348, allocations: 0 / 440.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.3351, allocations: 159.2 kB / 440.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.3351, allocations: 0 / 440.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007224/0.3358, allocations: 361 kB / 441.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3359, allocations: 120.6 kB / 441.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.336, allocations: 141.3 kB / 441.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.336, allocations: 35.67 kB / 441.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.336, allocations: 112.5 kB / 441.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.462e-05/0.3361, allocations: 58.86 kB / 441.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3361, allocations: 37.97 kB / 441.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.3362, allocations: 328.2 kB / 441.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3363, allocations: 51.11 kB / 442 MB, free: 34.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3365, allocations: 125.3 kB / 442.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3369, allocations: 269.5 kB / 442.4 MB, free: 33.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3369, allocations: 3.031 kB / 442.4 MB, free: 33.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004639/0.3374, allocations: 314.7 kB / 442.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.3374, allocations: 66.34 kB / 442.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3374, allocations: 3.938 kB / 442.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3374, allocations: 2.969 kB / 442.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3376, allocations: 31.78 kB / 442.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3376, allocations: 6.906 kB / 442.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3378, allocations: 37.3 kB / 442.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3378, allocations: 13.25 kB / 442.9 MB, free: 33.71 MB / 350.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.0001356/0.3379, allocations: 176.2 kB / 443 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.338, allocations: 16.38 kB / 443 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.3386, allocations: 343.4 kB / 443.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3386, allocations: 6.969 kB / 443.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3386, allocations: 0 / 443.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3386, allocations: 0 / 443.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3388, allocations: 251.7 kB / 443.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3388, allocations: 0 / 443.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.339, allocations: 21.44 kB / 443.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.339, allocations: 0 / 443.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.339, allocations: 6.844 kB / 443.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.339, allocations: 6.844 kB / 443.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.339, allocations: 3.938 kB / 443.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.3399, allocations: 448.8 kB / 444.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.3399, allocations: 95.77 kB / 444.2 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3399, allocations: 13.88 kB / 444.2 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3401, allocations: 21.88 kB / 444.2 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.3402, allocations: 23.33 kB / 444.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3402, allocations: 6 kB / 444.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.3403, allocations: 104.7 kB / 444.4 MB, free: 32.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3403, allocations: 0 / 444.4 MB, free: 32.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3405, allocations: 45.41 kB / 444.4 MB, free: 32.68 MB / 350.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.0001217/0.3407, allocations: 117.2 kB / 444.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.3412, allocations: 369.7 kB / 444.9 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3412, allocations: 0.5 kB / 444.9 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.3415, allocations: 291.4 kB / 445.2 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3418, allocations: 22.59 kB / 445.2 MB, free: 32.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.3425, allocations: 408.5 kB / 445.6 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.3426, allocations: 0.7141 MB / 446.3 MB, free: 31.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.818e-05/0.3427, allocations: 21.89 kB / 446.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.3428, allocations: 16.91 kB / 446.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3428, allocations: 0 / 446.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of Templates: time 0.003871/0.3466, allocations: 1.517 MB / 447.9 MB, free: 31 MB / 350.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)