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.0009784/0.0009785, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001013/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.268/0.268, allocations: 22.35 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003244, allocations: 8 kB / 379.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3885, allocations: 55.97 MB / 435.9 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002218/0.3907, allocations: 1.422 MB / 437.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.3912, allocations: 222.7 kB / 437.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.3913, allocations: 2.938 kB / 437.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3914, allocations: 11.25 kB / 437.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3916, allocations: 18.16 kB / 437.6 MB, free: 37.27 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.0001338/0.3917, allocations: 54.25 kB / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3919, allocations: 134.4 kB / 437.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.392, allocations: 55.22 kB / 437.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.786e-05/0.3921, allocations: 53.05 kB / 437.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3922, allocations: 56.19 kB / 437.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.3923, allocations: 5.219 kB / 437.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3923, allocations: 5.906 kB / 437.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3923, allocations: 12.95 kB / 437.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.3923, allocations: 53.14 kB / 438 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3925, allocations: 102.3 kB / 438.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3925, allocations: 0 / 438.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3925, allocations: 0 / 438.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3925, allocations: 0 / 438.1 MB, free: 37.04 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.0004658/0.393, allocations: 473.5 kB / 438.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.393, allocations: 11.56 kB / 438.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.3931, allocations: 17 kB / 438.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3933, allocations: 210.4 kB / 438.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3933, allocations: 13.75 kB / 438.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.3934, allocations: 17.44 kB / 438.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.3937, allocations: 151 kB / 439 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3937, allocations: 7.938 kB / 439 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.3937, allocations: 7.531 kB / 439 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3938, allocations: 3.812 kB / 439 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.394, allocations: 102.2 kB / 439.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.3947, allocations: 482.6 kB / 439.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.395, allocations: 157.1 kB / 439.7 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3952, allocations: 142.2 kB / 439.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3952, allocations: 4 kB / 439.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.3955, allocations: 159.9 kB / 440 MB, free: 35.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.3955, allocations: 0 / 440 MB, free: 35.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007169/0.3963, allocations: 357.2 kB / 440.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.3963, allocations: 122.8 kB / 440.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.3964, allocations: 141 kB / 440.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3965, allocations: 35.48 kB / 440.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.3965, allocations: 117 kB / 440.8 MB, free: 35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3966, allocations: 55.77 kB / 440.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.3966, allocations: 3.938 kB / 440.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.3967, allocations: 327.6 kB / 441.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3968, allocations: 61.39 kB / 441.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.397, allocations: 113.8 kB / 441.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3971, allocations: 125.7 kB / 441.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3972, allocations: 0 / 441.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004633/0.3976, allocations: 320.3 kB / 441.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.3977, allocations: 67.69 kB / 441.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3977, allocations: 3.281 kB / 441.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3977, allocations: 10.92 kB / 441.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.3979, allocations: 24.69 kB / 441.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3979, allocations: 2.969 kB / 441.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.398, allocations: 42.31 kB / 441.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3981, allocations: 7.625 kB / 441.9 MB, free: 34.16 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,$PRE.C.HIsat,C.HIsat,$PRE.C.LOsat,C.LOsat,$PRE.C.xBias,C.xBias,$PRE.C.iBiaso,C.iBiaso,$PRE.C.fBias,C.fBias,$PRE.C.xfb,C.xfb,$PRE.C.ulin,C.ulin,$PRE.C.ulino,C.ulino,$PRE.C.u,C.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.3982, allocations: 173.6 kB / 442.1 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3982, allocations: 16.12 kB / 442.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.3989, allocations: 354.9 kB / 442.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3989, allocations: 0 / 442.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3989, allocations: 0 / 442.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3989, allocations: 0 / 442.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3991, allocations: 250 kB / 442.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3991, allocations: 0 / 442.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3992, allocations: 17.25 kB / 442.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3993, allocations: 0 / 442.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3993, allocations: 17.69 kB / 442.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3993, allocations: 7.406 kB / 442.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3993, allocations: 0 / 442.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.4001, allocations: 445.2 kB / 443.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.4001, allocations: 95.7 kB / 443.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.4002, allocations: 8.828 kB / 443.3 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4003, allocations: 29.58 kB / 443.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.4004, allocations: 21.7 kB / 443.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4005, allocations: 9.797 kB / 443.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.423e-05/0.4005, allocations: 94.11 kB / 443.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4005, allocations: 2.906 kB / 443.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.4008, allocations: 50.09 kB / 443.5 MB, free: 33.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.4009, allocations: 106.7 kB / 443.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.4014, allocations: 372.3 kB / 443.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4015, allocations: 0 / 443.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.4018, allocations: 284.5 kB / 444.2 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.402, allocations: 23.5 kB / 444.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.4028, allocations: 401 kB / 444.6 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.403, allocations: 0.7172 MB / 445.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.392e-05/0.4031, allocations: 16.44 kB / 445.3 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.4031, allocations: 19 kB / 445.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4031, allocations: 0 / 445.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of Templates: time 0.004378/0.4075, allocations: 1.477 MB / 446.8 MB, free: 31.46 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)