Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001153/0.001153, allocations: 179.6 kB / 8.349 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.589/1.589, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001849/0.001849, allocations: 108.7 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1655/0.1655, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.875e-05, allocations: 4 kB / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3083, allocations: 53.22 MB / 443.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/0.8303, allocations: 118 MB / 0.5485 GB, free: 33.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.8306, allocations: 94.36 kB / 0.5486 GB, free: 33.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09992/0.9306, allocations: 41.94 MB / 0.5895 GB, free: 20.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.9306, allocations: 7.938 kB / 0.5895 GB, free: 20.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.98e-05/0.9307, allocations: 30.72 kB / 0.5896 GB, free: 20.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002547/0.9332, allocations: 1.415 MB / 0.591 GB, free: 19.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.9333, allocations: 7.75 kB / 0.591 GB, free: 19.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.9348, allocations: 275.4 kB / 0.5912 GB, free: 19.08 MB / 378.7 MB Error: Variable generator.par.V_nom in package PowerSystems.AC3ph.Generation.TurboGenerator$turboGen is not constant. Error: Variable generator.Vf_nom in package PowerSystems.AC3ph.Generation.TurboGenerator$turboGen is not constant. Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.9385, allocations: 1.71 MB / 0.5929 GB, free: 18.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.9385, allocations: 37.5 kB / 0.5929 GB, free: 18.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.9388, allocations: 79.89 kB / 0.593 GB, free: 18.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001612/0.9404, allocations: 1.133 MB / 0.5941 GB, free: 18.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.9424, allocations: 1.458 MB / 0.5955 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.9424, allocations: 15.89 kB / 0.5956 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.9425, allocations: 0 / 0.5956 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.9427, allocations: 92.5 kB / 0.5956 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/0.9494, allocations: 5.727 MB / 0.6012 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.9505, allocations: 0.7629 MB / 0.602 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.9511, allocations: 424 kB / 0.6024 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.9511, allocations: 14.8 kB / 0.6024 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.9512, allocations: 49.2 kB / 0.6024 GB, free: 11.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.9512, allocations: 0 / 0.6024 GB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.005184/0.9564, allocations: 3.126 MB / 0.6055 GB, free: 8.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.9565, allocations: 170.9 kB / 0.6057 GB, free: 8.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.9571, allocations: 0.5981 MB / 0.6062 GB, free: 7.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.9572, allocations: 25.7 kB / 0.6063 GB, free: 7.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.9575, allocations: 0.6348 MB / 0.6069 GB, free: 7.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.9577, allocations: 307.5 kB / 0.6072 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.9577, allocations: 0 / 0.6072 GB, free: 6.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9578, allocations: 406.7 kB / 0.6076 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.9584, allocations: 454.4 kB / 0.608 GB, free: 6.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.959, allocations: 0.7369 MB / 0.6087 GB, free: 5.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.9596, allocations: 0.5762 MB / 0.6093 GB, free: 4.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.9597, allocations: 4 kB / 0.6093 GB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002922/0.9626, allocations: 1.792 MB / 0.611 GB, free: 2.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008427/0.9634, allocations: 3.401 MB / 0.6144 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002794/0.9662, allocations: 1.433 MB / 0.6158 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.9682, allocations: 0.5817 MB / 0.6163 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.9699, allocations: 499.4 kB / 0.6168 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/0.9868, allocations: 19.79 MB / 0.6361 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.9881, allocations: 51.98 kB / 0.6362 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.9882, allocations: 47.98 kB / 0.6362 GB, free: 7.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9882, allocations: 4 kB / 0.6362 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003381/0.9916, allocations: 1.651 MB / 0.6378 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002872/0.9944, allocations: 1.418 MB / 0.6392 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/0.9964, allocations: 0.5822 MB / 0.6398 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/0.9972, allocations: 235.6 kB / 0.64 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/1.012, allocations: 18.48 MB / 0.6581 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.013, allocations: 32.03 kB / 0.6581 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/1.013, allocations: 51.98 kB / 0.6581 GB, free: 68 kB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turboGen.rotor.w_start:VARIABLE(unit = "rad/s" ) = turboGen.rotor.w_start "initial rotor angular velocity" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turboGen.rotor.H:VARIABLE(unit = "s" ) = turboGen.rotor.H "inertia constant turbine + generator" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turboGen.rotor.w_nom:VARIABLE(unit = "rad/s" ) = turboGen.rotor.w_nom "nominal angular velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,2,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005013/1.013, allocations: 136.6 kB / 0.6583 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002212/1.015, allocations: 1.225 MB / 0.6595 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.016, allocations: 94.86 kB / 0.6596 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/1.018, allocations: 1.313 MB / 0.6608 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.018, allocations: 12 kB / 0.6609 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.018, allocations: 4 kB / 0.6609 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.018, allocations: 3.984 kB / 0.6609 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/1.023, allocations: 2.71 MB / 0.6635 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.023, allocations: 4.031 kB / 0.6635 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/1.023, allocations: 139.8 kB / 0.6637 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/1.024, allocations: 403.8 kB / 0.664 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/1.025, allocations: 19.98 kB / 0.6641 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007819/1.032, allocations: 8.436 MB / 0.6723 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/1.032, allocations: 7.938 kB / 0.6723 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/1.036, allocations: 2.008 MB / 0.6743 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/1.036, allocations: 259.8 kB / 0.6745 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.036, allocations: 19.92 kB / 0.6745 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/1.037, allocations: 35.95 kB / 0.6746 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.037, allocations: 76.64 kB / 0.6746 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/1.037, allocations: 27.98 kB / 0.6747 GB, free: 14.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007761/1.038, allocations: 467.3 kB / 0.6751 GB, free: 13.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.038, allocations: 0 / 0.6751 GB, free: 13.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002853/1.041, allocations: 0.5938 MB / 0.6757 GB, free: 13.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.phi_el,turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003798/1.044, allocations: 3.459 MB / 0.6791 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005916/1.05, allocations: 3.371 MB / 0.6824 GB, free: 6.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.05, allocations: 1.812 kB / 0.6824 GB, free: 6.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.052, allocations: 1.125 MB / 0.6835 GB, free: 5.008 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/1.053, allocations: 163.2 kB / 0.6836 GB, free: 4.848 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/1.059, allocations: 2.813 MB / 0.6864 GB, free: 1.941 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.06, allocations: 1.383 MB / 0.6877 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001217/1.061, allocations: 403.5 kB / 0.6881 GB, free: 136 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/1.062, allocations: 496.7 kB / 0.6886 GB, free: 15.7 MB / 474.7 MB Notification: Performance of SimCode: time 9.11e-07/1.062, allocations: 0 / 0.6886 GB, free: 15.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3426/1.404, allocations: 30.56 MB / 0.7184 GB, free: 133.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.405, allocations: 150.4 kB / 0.7186 GB, free: 133.1 MB / 474.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c:7: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c:1: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:202:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom' data->simulationInfo->realParameter[92] = $PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:215:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$PVf_nom' data->simulationInfo->realParameter[93] = $PturboGen$Pexcitation$Pgenerator$PVf_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:292:46: error: use of undeclared identifier '$PturboGen$Protor$Pgenerator$Ppar$PS_nom' data->simulationInfo->realParameter[130] = $PturboGen$Protor$Pgenerator$Ppar$PS_nom; ^ 2 warnings and 3 errors generated. make: *** [: PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o] Error 1