Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.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.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") translateModel(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001195/0.001195, allocations: 190 kB / 17.36 MB, free: 5.699 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.307/1.307, 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.08649/0.08649, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/3.853e-05, allocations: 2.281 kB / 437.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.002439/0.00249, allocations: 1.001 MB / 438.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.004286, allocations: 1.217 MB / 439.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.004414, allocations: 3.938 kB / 439.9 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.004795, allocations: 35.78 kB / 439.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.005012, allocations: 39.77 kB / 439.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.005243, allocations: 95.73 kB / 440 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.005616, allocations: 235.6 kB / 440.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.005773, allocations: 37.41 kB / 440.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.005926, allocations: 87.67 kB / 440.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.006085, allocations: 67.67 kB / 440.5 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.006127, allocations: 12 kB / 440.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.973e-05/0.006166, allocations: 12 kB / 440.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001818/0.006353, allocations: 217.4 kB / 440.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001406/0.0065, allocations: 134 kB / 440.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.006542, allocations: 19.88 kB / 440.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.707e-05/0.006594, allocations: 11.92 kB / 440.9 MB, free: 8.59 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: 18 (18) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.0007832/0.007384, allocations: 0.651 MB / 441.5 MB, free: 7.836 MB / 318.1 MB Notification: Performance of FunctionAlias: time 4.662e-05/0.007438, allocations: 19.92 kB / 441.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002671/0.007711, allocations: 240.2 kB / 441.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simplify1: time 3.892e-05/0.007756, allocations: 23.97 kB / 441.8 MB, free: 7.531 MB / 318.1 MB Notification: Performance of Alias: time 0.0007823/0.008545, allocations: 435.8 kB / 442.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of simplify2: time 3.426e-05/0.008594, allocations: 19.97 kB / 442.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of Events: time 8.276e-05/0.008683, allocations: 23.98 kB / 442.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002012/0.008892, allocations: 94.44 kB / 442.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000129/0.00903, allocations: 72.08 kB / 442.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003106/0.009347, allocations: 215.9 kB / 442.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002089/0.009565, allocations: 204.2 kB / 442.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Inline: time 0.0005222/0.01009, allocations: 425.6 kB / 443.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of Partitioning: time 3.281e-05/0.01014, allocations: 28.05 kB / 443.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Cleanup: time 2.388e-05/0.01017, allocations: 23.92 kB / 443.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of Causalize: time 0.001309/0.01148, allocations: 0.8858 MB / 444.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Tearing: time 1.189e-05/0.0115, allocations: 0 / 444.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Initialization: time 3.01e-07/0.01151, allocations: 0 / 444.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Tearing: time 3.056e-06/0.01152, allocations: 0 / 444.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Categorize: time 1.084e-05/0.01153, allocations: 4 kB / 444.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of Solve: time 0.0006031/0.01214, allocations: 0.552 MB / 444.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002665/0.01242, allocations: 310.1 kB / 445 MB, free: 3.977 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {N.y, Cps.x_scaled, g.x_scaled} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:9, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 19 (scalar:14, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.738e-05/0.01248, allocations: 34.52 kB / 445.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of SimCode: time 0.00134/0.01383, allocations: 1.256 MB / 446.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of Templates: time 0.004729/0.01857, allocations: 1.316 MB / 447.6 MB, free: 1.312 MB / 318.1 MB make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.makefile make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AES_AES_Coursework_ElecSys_power_frequency_control_BO_rigid_Islanded_generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AES_AES_Coursework_ElecSys_power_frequency_control_BO_rigid_Islanded_generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_functions.o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AES_AES_Coursework_ElecSys_power_frequency_control_BO_rigid_Islanded_generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_records.o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AES_AES_Coursework_ElecSys_power_frequency_control_BO_rigid_Islanded_generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_01exo.o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AES_AES_Coursework_ElecSys_power_frequency_control_BO_rigid_Islanded_generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_02nls.o AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_02nls.c AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_02nls.c:38:10: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[0] = sub_alloc_real_array(division_alloc_real_array_scalar(threadData,tmp0,(data->simulationInfo->realParameter[21] /* g.a_end PARAM */),"g.a_end"), tmp1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator_02nls.o] Error 1