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.001449/0.001449, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001542/0.001542, allocations: 187 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09182/0.09182, allocations: 22.33 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.84 kB / 435.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08905, allocations: 54.96 MB / 490.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002737/0.09182, allocations: 1.748 MB / 492.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005079/0.09235, allocations: 235.5 kB / 492.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.09246, allocations: 4 kB / 492.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.09258, allocations: 19.73 kB / 492.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.09274, allocations: 23.8 kB / 492.6 MB, free: 4.84 MB / 366.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.0001608/0.09291, allocations: 59.92 kB / 492.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.09316, allocations: 183.6 kB / 492.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.09332, allocations: 78.58 kB / 492.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.09341, allocations: 67.72 kB / 493 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.09352, allocations: 71.67 kB / 493 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.09356, allocations: 12 kB / 493 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.09359, allocations: 20 kB / 493.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.09363, allocations: 27.8 kB / 493.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.09371, allocations: 79.64 kB / 493.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.09389, allocations: 139.4 kB / 493.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.0939, allocations: 0 / 493.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09391, allocations: 0 / 493.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09392, allocations: 0 / 493.3 MB, free: 4.113 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.0005344/0.09446, allocations: 0.4945 MB / 493.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.0945, allocations: 8.031 kB / 493.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.09456, allocations: 20.75 kB / 493.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.0948, allocations: 216 kB / 494 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.09484, allocations: 12.38 kB / 494 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.09487, allocations: 16.38 kB / 494.1 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.09525, allocations: 158.4 kB / 494.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.09527, allocations: 4.125 kB / 494.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.09529, allocations: 7.938 kB / 494.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.0953, allocations: 4 kB / 494.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.09562, allocations: 100.6 kB / 494.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.09634, allocations: 488.1 kB / 494.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.09661, allocations: 158.5 kB / 495 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.09683, allocations: 136.8 kB / 495.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.09686, allocations: 0 / 495.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.09714, allocations: 164.9 kB / 495.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.946e-06/0.09715, allocations: 112 / 495.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007622/0.09792, allocations: 353.5 kB / 495.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.098, allocations: 118.8 kB / 495.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.09811, allocations: 138 kB / 495.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.09814, allocations: 33.7 kB / 495.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.09821, allocations: 120.3 kB / 496 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.09827, allocations: 51.34 kB / 496.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.09834, allocations: 49.7 kB / 496.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09845, allocations: 326.8 kB / 496.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.09862, allocations: 55.89 kB / 496.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.09882, allocations: 120.5 kB / 496.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.09923, allocations: 279.6 kB / 496.9 MB, free: 224 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.09924, allocations: 0 / 496.9 MB, free: 224 kB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005572/0.0998, allocations: 312.7 kB / 497.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.09986, allocations: 67.39 kB / 497.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.09988, allocations: 8.188 kB / 497.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.0999, allocations: 8 kB / 497.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1001, allocations: 35.91 kB / 497.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1001, allocations: 0 / 497.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1003, allocations: 27.83 kB / 497.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.1003, allocations: 15.98 kB / 497.3 MB, free: 15.72 MB / 382.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.0001407/0.1004, allocations: 183.3 kB / 497.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1005, allocations: 15.81 kB / 497.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.1011, allocations: 340.4 kB / 497.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1011, allocations: 0 / 497.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1012, allocations: 0 / 497.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1012, allocations: 0 / 497.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1014, allocations: 253.4 kB / 498.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1014, allocations: 4 kB / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1015, allocations: 23.91 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1015, allocations: 4 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1016, allocations: 7.938 kB / 498.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1016, allocations: 3.938 kB / 498.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1016, allocations: 0 / 498.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.1024, allocations: 450.6 kB / 498.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1025, allocations: 92.89 kB / 498.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.1025, allocations: 8 kB / 498.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1027, allocations: 19.97 kB / 498.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1028, allocations: 27.97 kB / 498.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1028, allocations: 8.062 kB / 498.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.1029, allocations: 102.2 kB / 498.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1029, allocations: 3.938 kB / 498.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1031, allocations: 43.94 kB / 498.9 MB, free: 14.04 MB / 382.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.0001048/0.1032, allocations: 111.2 kB / 499 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.1038, allocations: 368.3 kB / 499.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1038, allocations: 0 / 499.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.1042, allocations: 287.7 kB / 499.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1044, allocations: 16.16 kB / 499.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.1051, allocations: 390.4 kB / 0.4883 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1054, allocations: 0.7158 MB / 0.489 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.1054, allocations: 23.42 kB / 0.489 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1054, allocations: 0 / 0.489 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.003553/0.109, allocations: 1.947 MB / 0.4909 GB, free: 10.11 MB / 382.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)