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.001321/0.001321, allocations: 112 kB / 16.41 MB, free: 6.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.001054/0.001054, allocations: 183 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09058/0.09058, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 435.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.0893, allocations: 54.96 MB / 490.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002796/0.09213, allocations: 1.741 MB / 492.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005345/0.0927, allocations: 235.5 kB / 492.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.09282, allocations: 4 kB / 492.5 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.09295, allocations: 23.73 kB / 492.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.09311, allocations: 19.8 kB / 492.6 MB, free: 4.863 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.0001714/0.09329, allocations: 67.86 kB / 492.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.09356, allocations: 175.7 kB / 492.8 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.09374, allocations: 79.91 kB / 492.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.09383, allocations: 59.78 kB / 493 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.09395, allocations: 79.55 kB / 493 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.09399, allocations: 16 kB / 493 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.09403, allocations: 20 kB / 493.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.09407, allocations: 23.91 kB / 493.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.09415, allocations: 75.59 kB / 493.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.09433, allocations: 139.4 kB / 493.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09434, allocations: 0 / 493.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09435, allocations: 0 / 493.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.09436, allocations: 0 / 493.3 MB, free: 4.137 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.0005745/0.09494, allocations: 0.4945 MB / 493.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.09498, allocations: 8.031 kB / 493.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.09505, allocations: 20.75 kB / 493.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.09534, allocations: 220 kB / 494 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.09538, allocations: 12.38 kB / 494 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.09542, allocations: 16.38 kB / 494.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.09582, allocations: 154.4 kB / 494.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.09584, allocations: 192 / 494.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.09587, allocations: 23.86 kB / 494.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.09588, allocations: 4 kB / 494.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.09621, allocations: 96.69 kB / 494.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.09698, allocations: 476.1 kB / 494.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.09726, allocations: 162.5 kB / 495 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.09749, allocations: 136.8 kB / 495.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.09752, allocations: 7.938 kB / 495.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.09782, allocations: 157 kB / 495.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.09783, allocations: 4 kB / 495.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.000828/0.09867, allocations: 353.6 kB / 495.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.09875, allocations: 118.7 kB / 495.7 MB, free: 1.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.09886, allocations: 138 kB / 495.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.0989, allocations: 33.7 kB / 495.9 MB, free: 1.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.09897, allocations: 120.3 kB / 496 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.09902, allocations: 47.36 kB / 496.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.09911, allocations: 53.69 kB / 496.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.09922, allocations: 326.8 kB / 496.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.0994, allocations: 55.95 kB / 496.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.09963, allocations: 120.5 kB / 496.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.1, allocations: 272.6 kB / 496.9 MB, free: 248 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1001, allocations: 4 kB / 496.9 MB, free: 244 kB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005711/0.1006, allocations: 314.1 kB / 497.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.1007, allocations: 67.39 kB / 497.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1007, allocations: 8.188 kB / 497.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1007, allocations: 4 kB / 497.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1009, allocations: 31.91 kB / 497.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1009, allocations: 4 kB / 497.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1011, allocations: 31.81 kB / 497.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1011, allocations: 12 kB / 497.3 MB, free: 15.75 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.0001475/0.1013, allocations: 183.3 kB / 497.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1013, allocations: 19.8 kB / 497.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.102, allocations: 340.3 kB / 497.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.102, allocations: 4 kB / 497.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.102, allocations: 0 / 497.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.102, allocations: 0 / 497.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1022, allocations: 257.4 kB / 498.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1022, allocations: 0 / 498.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1024, allocations: 15.98 kB / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1024, allocations: 0 / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1024, allocations: 11.92 kB / 498.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1024, allocations: 0 / 498.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1024, allocations: 8 kB / 498.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.1033, allocations: 456 kB / 498.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1033, allocations: 88.86 kB / 498.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1034, allocations: 12.03 kB / 498.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.1036, allocations: 19.97 kB / 498.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.1037, allocations: 23.97 kB / 498.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1037, allocations: 16 kB / 498.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.1038, allocations: 101.7 kB / 498.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1038, allocations: 0 / 498.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.104, allocations: 39.94 kB / 498.9 MB, free: 14.06 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.0001093/0.1042, allocations: 111.6 kB / 499 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.1047, allocations: 366.5 kB / 499.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1048, allocations: 4 kB / 499.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1051, allocations: 291.3 kB / 499.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.1053, allocations: 16 kB / 499.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/0.1061, allocations: 386.5 kB / 0.4883 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.1063, allocations: 0.7158 MB / 0.489 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.1064, allocations: 19.44 kB / 0.489 GB, free: 12.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1064, allocations: 0 / 0.489 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Templates: time 0.003549/0.1099, allocations: 1.932 MB / 0.4909 GB, free: 10.14 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)