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.00151/0.00151, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001738/0.001738, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09541/0.09541, allocations: 22.33 MB / 313.4 MB, free: 8.961 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.7 kB / 379.3 MB, free: 42.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07441/0.0757, allocations: 54.95 MB / 434.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002745/0.07847, allocations: 1.745 MB / 436 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000348/0.07884, allocations: 147.5 kB / 436.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.07893, allocations: 4 kB / 436.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.07905, allocations: 19.73 kB / 436.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.07918, allocations: 15.8 kB / 436.2 MB, free: 13.21 MB / 318.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.0001292/0.07932, allocations: 55.92 kB / 436.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.0795, allocations: 147.6 kB / 436.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.07968, allocations: 67.94 kB / 436.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.07975, allocations: 59.77 kB / 436.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.07986, allocations: 75.67 kB / 436.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.0799, allocations: 12 kB / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.07993, allocations: 15.94 kB / 436.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.07997, allocations: 31.91 kB / 436.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.08003, allocations: 63.59 kB / 436.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.08019, allocations: 127.5 kB / 436.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.0802, allocations: 4 kB / 436.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08021, allocations: 0 / 436.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.08022, allocations: 0 / 436.9 MB, free: 12.56 MB / 318.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.000615/0.08084, allocations: 451.3 kB / 437.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.08087, allocations: 8.031 kB / 437.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.08093, allocations: 20.75 kB / 437.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.08114, allocations: 212 kB / 437.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.08117, allocations: 12.38 kB / 437.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.08121, allocations: 16.38 kB / 437.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.08159, allocations: 154.3 kB / 437.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.08161, allocations: 4.188 kB / 437.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.08164, allocations: 11.94 kB / 437.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.08165, allocations: 7.938 kB / 437.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.08204, allocations: 119.9 kB / 437.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.08288, allocations: 0.4959 MB / 438.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.08317, allocations: 114.5 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.0834, allocations: 76.8 kB / 438.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.08343, allocations: 0 / 438.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.08346, allocations: 42.5 kB / 438.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.042e-06/0.08347, allocations: 0 / 438.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007132/0.08419, allocations: 228 kB / 438.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.08423, allocations: 51.41 kB / 438.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.08433, allocations: 129.8 kB / 439 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.08436, allocations: 29.7 kB / 439 MB, free: 10.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.08443, allocations: 124.3 kB / 439.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.08449, allocations: 63.02 kB / 439.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.08457, allocations: 49.7 kB / 439.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.08468, allocations: 322.8 kB / 439.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.08489, allocations: 59.95 kB / 439.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.08511, allocations: 81.61 kB / 439.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.0855, allocations: 141.6 kB / 439.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.08551, allocations: 0 / 439.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004869/0.08601, allocations: 197.8 kB / 440 MB, free: 9.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.08603, allocations: 11.94 kB / 440 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.08604, allocations: 0 / 440 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.08606, allocations: 4.031 kB / 440.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.08652, allocations: 59.95 kB / 440.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.08654, allocations: 0 / 440.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.08672, allocations: 27.81 kB / 440.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.08674, allocations: 8 kB / 440.1 MB, free: 9.051 MB / 318.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.696e-05/0.08685, allocations: 130.5 kB / 440.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.0869, allocations: 19.75 kB / 440.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.08745, allocations: 210.2 kB / 440.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.08746, allocations: 0 / 440.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.08747, allocations: 4 kB / 440.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.08749, allocations: 3.984 kB / 440.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.08776, allocations: 253.4 kB / 440.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.08777, allocations: 3.984 kB / 440.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.08808, allocations: 51.91 kB / 440.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.08809, allocations: 0 / 440.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.08812, allocations: 11.94 kB / 440.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.08812, allocations: 0 / 440.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.08813, allocations: 0 / 440.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.08885, allocations: 355.9 kB / 441.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.0889, allocations: 88.95 kB / 441.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.08894, allocations: 12 kB / 441.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.08915, allocations: 15.97 kB / 441.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.08924, allocations: 31.95 kB / 441.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.08926, allocations: 8 kB / 441.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.062e-05/0.08933, allocations: 99.27 kB / 441.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08933, allocations: 0 / 441.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.08961, allocations: 35.84 kB / 441.5 MB, free: 7.645 MB / 318.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 8.853e-05/0.08971, allocations: 103.2 kB / 441.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.09023, allocations: 173.2 kB / 441.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.09024, allocations: 64 / 441.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.09047, allocations: 87.89 kB / 441.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.0908, allocations: 17.3 kB / 441.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.09157, allocations: 424.2 kB / 442.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.09187, allocations: 0.728 MB / 443 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.09195, allocations: 23.44 kB / 443 MB, free: 6.043 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09196, allocations: 0 / 443 MB, free: 6.043 MB / 318.1 MB Notification: Performance of Templates: time 0.003702/0.09567, allocations: 2.046 MB / 445 MB, free: 3.992 MB / 318.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)