Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008759/0.0008758, allocations: 81.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1786/0.1786, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 56.34 MB / 467 MB, free: 6.469 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5671, allocations: 123.4 MB / 0.5765 GB, free: 3.375 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5674, allocations: 95.94 kB / 0.5766 GB, free: 3.281 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1211/0.6885, allocations: 42.36 MB / 0.618 GB, free: 8.406 MB / 459.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6886, allocations: 0 / 0.618 GB, free: 8.406 MB / 459.1 MB Notification: Performance of Transformations before backend: time 9.586e-05/0.6887, allocations: 35.98 kB / 0.618 GB, free: 8.371 MB / 459.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003055/0.6918, allocations: 1.428 MB / 0.6194 GB, free: 6.895 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6918, allocations: 12.03 kB / 0.6194 GB, free: 6.883 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.6934, allocations: 277.8 kB / 0.6197 GB, free: 6.609 MB / 459.1 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.00492/0.6983, allocations: 1.722 MB / 0.6214 GB, free: 4.84 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.6984, allocations: 36 kB / 0.6214 GB, free: 4.805 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.6987, allocations: 75.91 kB / 0.6215 GB, free: 4.73 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002084/0.7008, allocations: 1.145 MB / 0.6226 GB, free: 3.582 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.7031, allocations: 1.46 MB / 0.624 GB, free: 2.047 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/0.7032, allocations: 7.984 kB / 0.624 GB, free: 2.039 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7033, allocations: 4 kB / 0.624 GB, free: 2.035 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.7034, allocations: 90.33 kB / 0.6241 GB, free: 1.945 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008995/0.7124, allocations: 5.752 MB / 0.6297 GB, free: 11.9 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.7136, allocations: 0.7611 MB / 0.6305 GB, free: 11.09 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.7141, allocations: 420.9 kB / 0.6309 GB, free: 10.68 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.846e-05/0.7142, allocations: 16.77 kB / 0.6309 GB, free: 10.66 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.7143, allocations: 47.33 kB / 0.6309 GB, free: 10.6 MB / 475.1 MB Notification: Performance of pre-optimization done (n=75): time 3.647e-06/0.7143, allocations: 0 / 0.6309 GB, free: 10.6 MB / 475.1 MB Notification: Performance of matching and sorting (n=87): time 0.006173/0.7205, allocations: 3.124 MB / 0.634 GB, free: 7.406 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.7206, allocations: 175 kB / 0.6342 GB, free: 7.195 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/0.7215, allocations: 0.6017 MB / 0.6347 GB, free: 6.586 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.7216, allocations: 25.7 kB / 0.6348 GB, free: 6.555 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.722, allocations: 0.6387 MB / 0.6354 GB, free: 5.906 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.7223, allocations: 299.6 kB / 0.6357 GB, free: 5.609 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.7224, allocations: 4 kB / 0.6357 GB, free: 5.605 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.7226, allocations: 410.7 kB / 0.6361 GB, free: 5.195 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.7233, allocations: 442.5 kB / 0.6365 GB, free: 4.762 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.7241, allocations: 0.7369 MB / 0.6372 GB, free: 3.902 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.7249, allocations: 0.5723 MB / 0.6378 GB, free: 3.328 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7249, allocations: 4 kB / 0.6378 GB, free: 3.324 MB / 475.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003452/0.7284, allocations: 1.78 MB / 0.6395 GB, free: 1.52 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2698/0.9982, allocations: 3.4 MB / 0.6428 GB, free: 123.3 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004432/1.003, allocations: 1.427 MB / 0.6442 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/1.005, allocations: 0.5826 MB / 0.6448 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/1.007, allocations: 492.9 kB / 0.6453 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/1.022, allocations: 19.8 MB / 0.6646 GB, free: 107.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.024, allocations: 47.61 kB / 0.6647 GB, free: 107.3 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.024, allocations: 49.62 kB / 0.6647 GB, free: 107.3 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.024, allocations: 8.438 kB / 0.6647 GB, free: 107.3 MB / 475.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003775/1.028, allocations: 1.642 MB / 0.6663 GB, free: 107.2 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002947/1.031, allocations: 1.41 MB / 0.6677 GB, free: 107.2 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/1.033, allocations: 0.5856 MB / 0.6683 GB, free: 107.1 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/1.034, allocations: 224.1 kB / 0.6685 GB, free: 107.1 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.046, allocations: 18.49 MB / 0.6865 GB, free: 92.41 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.047, allocations: 28.7 kB / 0.6866 GB, free: 92.41 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/1.047, allocations: 47.06 kB / 0.6866 GB, free: 92.41 MB / 475.1 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 (118): * Single equations (assignments): 108 * 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.000446/1.048, allocations: 153.8 kB / 0.6867 GB, free: 92.31 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002315/1.05, allocations: 1.222 MB / 0.6879 GB, free: 92.16 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/1.05, allocations: 95.47 kB / 0.688 GB, free: 92.11 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.052, allocations: 1.292 MB / 0.6893 GB, free: 91.99 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.052, allocations: 8.469 kB / 0.6893 GB, free: 91.99 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.052, allocations: 11.83 kB / 0.6893 GB, free: 91.98 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.052, allocations: 6.75 kB / 0.6893 GB, free: 91.98 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/1.057, allocations: 2.703 MB / 0.692 GB, free: 91.46 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.057, allocations: 2.531 kB / 0.692 GB, free: 91.46 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/1.058, allocations: 137.2 kB / 0.6921 GB, free: 91.46 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/1.059, allocations: 404.6 kB / 0.6925 GB, free: 91.41 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/1.059, allocations: 25.75 kB / 0.6925 GB, free: 91.41 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/1.064, allocations: 8.431 MB / 0.7007 GB, free: 84.22 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.064, allocations: 6.859 kB / 0.7007 GB, free: 84.21 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/1.067, allocations: 2.008 MB / 0.7027 GB, free: 83.12 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/1.067, allocations: 266.9 kB / 0.703 GB, free: 82.94 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.067, allocations: 11.91 kB / 0.703 GB, free: 82.94 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/1.068, allocations: 34.8 kB / 0.703 GB, free: 82.93 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.068, allocations: 73.86 kB / 0.7031 GB, free: 82.92 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/1.068, allocations: 30.95 kB / 0.7031 GB, free: 82.91 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0005802/1.068, allocations: 464.6 kB / 0.7035 GB, free: 82.7 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 3.938 kB / 0.7036 GB, free: 82.7 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.002578/1.071, allocations: 0.5952 MB / 0.7041 GB, free: 82.69 MB / 475.1 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 (68): * Single equations (assignments): 62 * 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.002746/1.074, allocations: 3.459 MB / 0.7075 GB, free: 80.25 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004719/1.079, allocations: 3.348 MB / 0.7108 GB, free: 78.41 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.079, allocations: 2.5 kB / 0.7108 GB, free: 78.41 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.08, allocations: 1.097 MB / 0.7119 GB, free: 77.68 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.081, allocations: 184.8 kB / 0.712 GB, free: 77.62 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/1.086, allocations: 2.823 MB / 0.7148 GB, free: 76.34 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/1.087, allocations: 1.376 MB / 0.7161 GB, free: 75.55 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.001167/1.088, allocations: 404.6 kB / 0.7165 GB, free: 75.51 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/1.088, allocations: 491.8 kB / 0.717 GB, free: 75.12 MB / 475.1 MB Notification: Performance of SimCode: time 8.61e-07/1.088, allocations: 0 / 0.717 GB, free: 75.12 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/1.141, allocations: 30.77 MB / 0.747 GB, free: 63.25 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.141, allocations: 164.5 kB / 0.7472 GB, free: 63.05 MB / 475.1 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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c In file included from PowerSystems_latest_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_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c:7: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c:1: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.c In file included from PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o] Error 1