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.00125/0.00125, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001246/0.001246, allocations: 187 kB / 17.34 MB, free: 5.742 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09184/0.09184, allocations: 22.32 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 435.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09284, allocations: 54.95 MB / 490.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002638/0.09551, allocations: 1.737 MB / 492.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.0959, allocations: 151.5 kB / 492.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.09601, allocations: 3.938 kB / 492.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.09614, allocations: 23.73 kB / 492.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.09627, allocations: 19.84 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.0001193/0.0964, allocations: 55.88 kB / 492.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.09659, allocations: 139.7 kB / 492.7 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.09675, allocations: 75.92 kB / 492.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.09684, allocations: 55.78 kB / 492.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.09696, allocations: 75.56 kB / 492.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.09699, allocations: 12 kB / 492.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.367e-05/0.09702, allocations: 16 kB / 492.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.09706, allocations: 35.89 kB / 493 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.09713, allocations: 63.59 kB / 493 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.09729, allocations: 135.4 kB / 493.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0973, allocations: 0 / 493.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09731, allocations: 0 / 493.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.09732, allocations: 0 / 493.1 MB, free: 4.246 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.0006121/0.09794, allocations: 443 kB / 493.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.09798, allocations: 8.031 kB / 493.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.09804, allocations: 16.75 kB / 493.6 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.09828, allocations: 216.1 kB / 493.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.09832, allocations: 16.38 kB / 493.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.09836, allocations: 16.38 kB / 493.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.09873, allocations: 157.7 kB / 494 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.09875, allocations: 192 / 494 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.09878, allocations: 7.938 kB / 494 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.09879, allocations: 11.88 kB / 494 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.09918, allocations: 123.9 kB / 494.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.1, allocations: 496.2 kB / 494.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1003, allocations: 110.5 kB / 494.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.1005, allocations: 76.81 kB / 494.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.1005, allocations: 7.938 kB / 494.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1006, allocations: 38.5 kB / 494.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.1006, allocations: 0 / 494.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006384/0.1012, allocations: 221.7 kB / 495.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1013, allocations: 63.34 kB / 495.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.1014, allocations: 136.6 kB / 495.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1014, allocations: 25.7 kB / 495.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.1015, allocations: 116.4 kB / 495.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.1015, allocations: 63.09 kB / 495.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.1016, allocations: 45.7 kB / 495.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1018, allocations: 322.8 kB / 495.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.102, allocations: 59.95 kB / 495.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1022, allocations: 85.61 kB / 496 MB, free: 1.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.1028, allocations: 134 kB / 496.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1028, allocations: 4 kB / 496.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005252/0.1033, allocations: 201.3 kB / 496.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1033, allocations: 7.938 kB / 496.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1034, allocations: 4 kB / 496.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1034, allocations: 0 / 496.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.1038, allocations: 59.89 kB / 496.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1038, allocations: 0 / 496.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.104, allocations: 31.86 kB / 496.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.104, allocations: 11.98 kB / 496.4 MB, free: 0.7422 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 0.0001361/0.1042, allocations: 126.6 kB / 496.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1042, allocations: 11.84 kB / 496.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.1047, allocations: 222.1 kB / 496.8 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1047, allocations: 4 kB / 496.8 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1047, allocations: 4 kB / 496.8 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1048, allocations: 0 / 496.8 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.1051, allocations: 249.6 kB / 497 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1051, allocations: 0 / 497 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.1055, allocations: 47.91 kB / 497.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1055, allocations: 0 / 497.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1055, allocations: 11.92 kB / 497.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1056, allocations: 8 kB / 497.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1056, allocations: 0 / 497.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.1063, allocations: 352.7 kB / 497.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.1063, allocations: 92.86 kB / 497.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1063, allocations: 8 kB / 497.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.1065, allocations: 15.98 kB / 497.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.1067, allocations: 39.94 kB / 497.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1067, allocations: 4 kB / 497.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.1067, allocations: 95.27 kB / 497.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1067, allocations: 4 kB / 497.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.107, allocations: 27.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 0.0001588/0.1072, allocations: 107.2 kB / 497.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.1076, allocations: 163.7 kB / 498 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1077, allocations: 0 / 498 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1079, allocations: 89.39 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.0002924/0.1082, 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.0007601/0.1089, allocations: 418.4 kB / 498.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1093, allocations: 0.7279 MB / 499.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.1093, allocations: 27.42 kB / 499.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1093, allocations: 4 kB / 499.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.003662/0.113, allocations: 2.051 MB / 0.4895 GB, free: 11.69 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)