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.001511/0.001516, allocations: 107.1 kB / 16.41 MB, free: 6.449 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.001716/0.001716, allocations: 187 kB / 17.34 MB, free: 5.719 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09327/0.09327, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 435.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08735, allocations: 54.95 MB / 490.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002741/0.09012, allocations: 1.733 MB / 492.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.09054, allocations: 151.4 kB / 492.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.09066, allocations: 3.938 kB / 492.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.09082, allocations: 23.73 kB / 492.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.09098, allocations: 19.86 kB / 492.5 MB, free: 4.902 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.0001422/0.09113, allocations: 51.92 kB / 492.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.09134, allocations: 147.7 kB / 492.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.09151, allocations: 67.94 kB / 492.7 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.09159, allocations: 63.77 kB / 492.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.0917, allocations: 71.62 kB / 492.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.09174, allocations: 12 kB / 492.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.09177, allocations: 12 kB / 492.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.09181, allocations: 31.84 kB / 492.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.09188, allocations: 71.58 kB / 493 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.09206, allocations: 131.5 kB / 493.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09207, allocations: 0 / 493.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09208, allocations: 0 / 493.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.09209, allocations: 0 / 493.1 MB, free: 4.25 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.0006622/0.09276, allocations: 454.9 kB / 493.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.0928, allocations: 8.031 kB / 493.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.09286, allocations: 16.75 kB / 493.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.09311, allocations: 212.1 kB / 493.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.09315, allocations: 12.38 kB / 493.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.09319, allocations: 20.38 kB / 493.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.09358, allocations: 161.7 kB / 494 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.0936, allocations: 4.125 kB / 494 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.09363, allocations: 11.94 kB / 494 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.09365, allocations: 4 kB / 494 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.094, allocations: 119.8 kB / 494.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.09486, allocations: 0.4885 MB / 494.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.09514, allocations: 110.5 kB / 494.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.09533, allocations: 76.8 kB / 494.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.09537, allocations: 4 kB / 494.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.09541, allocations: 38.5 kB / 494.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.09542, allocations: 3.938 kB / 494.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006499/0.09607, allocations: 223.8 kB / 495.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.09612, allocations: 59.41 kB / 495.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.09623, allocations: 129.8 kB / 495.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.09626, allocations: 33.7 kB / 495.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.09632, allocations: 112.4 kB / 495.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.09638, allocations: 67.09 kB / 495.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.09646, allocations: 41.7 kB / 495.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.09656, allocations: 326.8 kB / 495.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.09676, allocations: 63.95 kB / 495.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.09696, allocations: 77.67 kB / 496 MB, free: 1.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.09731, allocations: 142 kB / 496.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09732, allocations: 0 / 496.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004604/0.09779, allocations: 205.3 kB / 496.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.09782, allocations: 7.938 kB / 496.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.09783, allocations: 0 / 496.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.09785, allocations: 4 kB / 496.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.09827, allocations: 51.95 kB / 496.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.09828, allocations: 4 kB / 496.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.09846, allocations: 27.86 kB / 496.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.09848, allocations: 11.98 kB / 496.4 MB, free: 0.7383 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 9.639e-05/0.09859, allocations: 134.5 kB / 496.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.09863, allocations: 15.84 kB / 496.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.09914, allocations: 217 kB / 496.8 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.09916, allocations: 4 kB / 496.8 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09917, allocations: 0 / 496.8 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.09918, allocations: 3.938 kB / 496.8 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.09944, allocations: 241.6 kB / 497 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.09945, allocations: 4 kB / 497 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.09974, allocations: 43.97 kB / 497.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.09976, allocations: 0 / 497.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.09978, allocations: 11.92 kB / 497.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.09979, allocations: 0 / 497.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.0998, allocations: 4 kB / 497.1 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.1005, allocations: 363.1 kB / 497.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1005, allocations: 92.86 kB / 497.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1006, allocations: 3.938 kB / 497.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1008, allocations: 20.05 kB / 497.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.1009, allocations: 35.94 kB / 497.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1009, allocations: 4 kB / 497.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.1009, allocations: 101.8 kB / 497.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1009, allocations: 0 / 497.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1012, allocations: 31.94 kB / 497.7 MB, free: 15.34 MB / 382.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 9.454e-05/0.1013, allocations: 107.2 kB / 497.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.1018, allocations: 161.2 kB / 498 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1018, allocations: 0 / 498 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.102, allocations: 83.89 kB / 498.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1023, allocations: 18.02 kB / 498.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.1031, allocations: 424.1 kB / 498.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1033, allocations: 0.724 MB / 499.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.1034, allocations: 27.42 kB / 499.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1034, allocations: 4 kB / 499.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.003717/0.1072, allocations: 2.07 MB / 0.4896 GB, free: 11.67 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)