Notification: Performance of loadModel(PowerSystems): time 1.796/1.796, allocations: 232.9 MB / 239.2 MB, free: 84 kB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.185/1.981, allocations: 55.17 MB / 294.4 MB, free: 10.79 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/2.063, allocations: 53.21 MB / 347.6 MB, free: 5.453 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/2.359, allocations: 117.6 MB / 465.2 MB, free: 3.68 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/2.359, allocations: 96 kB / 465.3 MB, free: 3.59 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.1584/2.517, allocations: 42.73 MB / 0.4961 GB, free: 8.266 MB / 440.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/2.517, allocations: 11.94 kB / 0.4961 GB, free: 8.254 MB / 440.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/2.52, allocations: 274 kB / 0.4964 GB, free: 7.984 MB / 440.6 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.005493/2.525, allocations: 1.624 MB / 0.498 GB, free: 6.312 MB / 440.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/2.525, allocations: 43.91 kB / 0.498 GB, free: 6.27 MB / 440.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/2.526, allocations: 76 kB / 0.4981 GB, free: 6.195 MB / 440.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002922/2.529, allocations: 1.172 MB / 0.4993 GB, free: 5.02 MB / 440.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/2.532, allocations: 1.493 MB / 0.5007 GB, free: 3.453 MB / 440.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.116e-05/2.532, allocations: 4 kB / 0.5007 GB, free: 3.449 MB / 440.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/2.533, allocations: 0 / 0.5007 GB, free: 3.449 MB / 440.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/2.533, allocations: 102.3 kB / 0.5008 GB, free: 3.348 MB / 440.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/2.545, allocations: 5.783 MB / 0.5065 GB, free: 13.28 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/2.546, allocations: 0.6868 MB / 0.5071 GB, free: 12.56 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000782/2.547, allocations: 424.5 kB / 0.5075 GB, free: 12.14 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/2.547, allocations: 20.62 kB / 0.5076 GB, free: 12.12 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/2.547, allocations: 47.16 kB / 0.5076 GB, free: 12.06 MB / 456.6 MB Notification: Performance of pre-optimization done (n=75): time 4.008e-06/2.547, allocations: 0 / 0.5076 GB, free: 12.06 MB / 456.6 MB Notification: Performance of matching and sorting (n=88): time 0.008127/2.555, allocations: 3.164 MB / 0.5107 GB, free: 8.832 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/2.555, allocations: 163 kB / 0.5108 GB, free: 8.637 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/2.556, allocations: 0.5976 MB / 0.5114 GB, free: 8.027 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/2.557, allocations: 25.7 kB / 0.5115 GB, free: 7.996 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/2.557, allocations: 0.6529 MB / 0.5121 GB, free: 7.336 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/2.558, allocations: 303.6 kB / 0.5124 GB, free: 7.035 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/2.558, allocations: 0 / 0.5124 GB, free: 7.035 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0002031/2.558, allocations: 362.7 kB / 0.5127 GB, free: 6.672 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009166/2.559, allocations: 462.4 kB / 0.5132 GB, free: 6.219 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/2.56, allocations: 0.7559 MB / 0.5139 GB, free: 5.34 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/2.561, allocations: 0.5963 MB / 0.5145 GB, free: 4.746 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.784e-06/2.561, allocations: 4 kB / 0.5145 GB, free: 4.742 MB / 456.6 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004726/2.566, allocations: 1.717 MB / 0.5162 GB, free: 3 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.1725/2.738, allocations: 3.396 MB / 0.5195 GB, free: 104.6 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003989/2.742, allocations: 1.43 MB / 0.5209 GB, free: 104.5 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/2.745, allocations: 0.6082 MB / 0.5215 GB, free: 104.5 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/2.748, allocations: 0.508 MB / 0.522 GB, free: 104.5 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/2.763, allocations: 19.27 MB / 0.5408 GB, free: 89.02 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/2.764, allocations: 53.81 kB / 0.5408 GB, free: 89.02 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/2.765, allocations: 47.91 kB / 0.5409 GB, free: 89.02 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/2.765, allocations: 3.562 kB / 0.5409 GB, free: 89.02 MB / 456.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004273/2.769, allocations: 1.633 MB / 0.5425 GB, free: 88.96 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003845/2.773, allocations: 1.416 MB / 0.5439 GB, free: 88.9 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/2.776, allocations: 0.576 MB / 0.5444 GB, free: 88.86 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/2.777, allocations: 231.9 kB / 0.5447 GB, free: 88.86 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/2.79, allocations: 17.89 MB / 0.5621 GB, free: 74.39 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/2.791, allocations: 30.47 kB / 0.5622 GB, free: 74.39 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/2.791, allocations: 52.11 kB / 0.5622 GB, free: 74.39 MB / 456.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001199/2.792, allocations: 75.28 kB / 0.5623 GB, free: 74.32 MB / 456.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002691/2.794, allocations: 1.225 MB / 0.5635 GB, free: 74.18 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/2.795, allocations: 92 kB / 0.5636 GB, free: 74.13 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/2.797, allocations: 1.315 MB / 0.5648 GB, free: 74.01 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/2.797, allocations: 8.531 kB / 0.5649 GB, free: 74.01 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/2.798, allocations: 8.719 kB / 0.5649 GB, free: 74.01 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/2.798, allocations: 7.25 kB / 0.5649 GB, free: 74.01 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/2.803, allocations: 2.791 MB / 0.5676 GB, free: 73.45 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/2.803, allocations: 10.77 kB / 0.5676 GB, free: 73.45 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/2.804, allocations: 141.8 kB / 0.5677 GB, free: 73.45 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/2.806, allocations: 413.7 kB / 0.5681 GB, free: 73.41 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/2.806, allocations: 23.84 kB / 0.5682 GB, free: 73.41 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007813/2.814, allocations: 8.404 MB / 0.5764 GB, free: 67.19 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.308e-06/2.814, allocations: 6.594 kB / 0.5764 GB, free: 67.19 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003351/2.817, allocations: 2.148 MB / 0.5785 GB, free: 66.49 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/2.818, allocations: 258.6 kB / 0.5787 GB, free: 66.34 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/2.818, allocations: 17.12 kB / 0.5787 GB, free: 66.34 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/2.819, allocations: 44.97 kB / 0.5788 GB, free: 66.34 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/2.819, allocations: 54.98 kB / 0.5788 GB, free: 66.34 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/2.819, allocations: 33.72 kB / 0.5789 GB, free: 66.34 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.0006676/2.82, allocations: 463.4 kB / 0.5793 GB, free: 66.24 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.003091/2.823, allocations: 0.5891 MB / 0.5799 GB, free: 66.24 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.004023/2.827, allocations: 3.974 MB / 0.5838 GB, free: 63.83 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.006726/2.833, allocations: 3.518 MB / 0.5872 GB, free: 62.62 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/2.834, allocations: 4.125 kB / 0.5872 GB, free: 62.62 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/2.835, allocations: 1.115 MB / 0.5883 GB, free: 62.07 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/2.837, allocations: 164.9 kB / 0.5884 GB, free: 62.06 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/2.843, allocations: 3.036 MB / 0.5914 GB, free: 61.04 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/2.845, allocations: 1.847 MB / 0.5932 GB, free: 60.31 MB / 456.6 MB Notification: Performance of SimCode: time 1.134e-06/2.845, allocations: 0.875 kB / 0.5932 GB, free: 60.31 MB / 456.6 MB Notification: Performance of translateModelFMU complete: time 0.06393/2.909, allocations: 56.78 MB / 0.6487 GB, free: 16.89 MB / 456.6 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineCalcHelperMain.cpp In file included from OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineCalcHelperMain.cpp:31: ./OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineInitialize.cpp:659:83: error: use of undeclared identifier 'turboGen_P_excitation_P_generator_P_par_P_V_nom_' SystemDefaultImplementation::setRealStartValue(_turboGen_P_excitation_P_V_nom_, turboGen_P_excitation_P_generator_P_par_P_V_nom_, false); ^ ./OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineInitialize.cpp:668:84: error: use of undeclared identifier 'turboGen_P_excitation_P_generator_P_Vf_nom_' SystemDefaultImplementation::setRealStartValue(_turboGen_P_excitation_P_Vf_nom_, turboGen_P_excitation_P_generator_P_Vf_nom_, false); ^ ./OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineInitialize.cpp:797:78: error: use of undeclared identifier 'turboGen_P_rotor_P_generator_P_par_P_S_nom_' SystemDefaultImplementation::setRealStartValue(_turboGen_P_rotor_P_P_nom_, turboGen_P_rotor_P_generator_P_par_P_S_nom_, false); ^ In file included from OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 3 errors generated. : recipe for target 'OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineCalcHelperMain.o' failed make: *** [OMCppPowerSystems_fmi_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLineCalcHelperMain.o] Error 1