Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadModel(PowerSystems): time 2.264/2.264, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.003e-05, allocations: 4 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08964, allocations: 53.24 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5078, allocations: 118.6 MB / 473.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004544/0.5083, allocations: 93.5 kB / 473.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.237/0.7454, allocations: 42.29 MB / 0.5034 GB, free: 4.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.7455, allocations: 4 kB / 0.5034 GB, free: 4.477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.7456, allocations: 35.94 kB / 0.5035 GB, free: 4.441 MB / 442.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.003629/0.7492, allocations: 1.395 MB / 0.5048 GB, free: 2.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7493, allocations: 12.03 kB / 0.5048 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.7514, allocations: 281.9 kB / 0.5051 GB, free: 2.707 MB / 442.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.005937/0.7573, allocations: 1.71 MB / 0.5068 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.7575, allocations: 90.33 kB / 0.5069 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.7579, allocations: 127.9 kB / 0.507 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.7615, allocations: 1.616 MB / 0.5086 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.7616, allocations: 5.5 kB / 0.5086 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.7618, allocations: 55.98 kB / 0.5086 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.762, allocations: 94.36 kB / 0.5087 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/0.7651, allocations: 1.313 MB / 0.51 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.7772, allocations: 6.107 MB / 0.516 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.7787, allocations: 0.6775 MB / 0.5166 GB, free: 6.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.7796, allocations: 428.9 kB / 0.517 GB, free: 6.004 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.7797, allocations: 24.75 kB / 0.517 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.7798, allocations: 47.28 kB / 0.5171 GB, free: 5.926 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 4.098e-06/0.7798, allocations: 0 / 0.5171 GB, free: 5.926 MB / 458.7 MB Notification: Performance of matching and sorting (n=84): time 0.01091/0.7907, allocations: 3.661 MB / 0.5207 GB, free: 2.191 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.7909, allocations: 171 kB / 0.5208 GB, free: 1.988 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.7923, allocations: 0.735 MB / 0.5216 GB, free: 1.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7924, allocations: 37.7 kB / 0.5216 GB, free: 1.207 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/0.793, allocations: 0.6336 MB / 0.5222 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.7934, allocations: 307.7 kB / 0.5225 GB, free: 268 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.7935, allocations: 25.44 kB / 0.5225 GB, free: 244 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.2469/1.04, allocations: 358.8 kB / 0.5229 GB, free: 119.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.042, allocations: 465.9 kB / 0.5233 GB, free: 119.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/1.043, allocations: 0.7459 MB / 0.524 GB, free: 119.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/1.044, allocations: 0.5953 MB / 0.5246 GB, free: 119.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.044, allocations: 2.406 kB / 0.5246 GB, free: 119.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004875/1.049, allocations: 1.797 MB / 0.5264 GB, free: 119.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000655/1.05, allocations: 3.222 MB / 0.5295 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004103/1.054, allocations: 1.479 MB / 0.531 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/1.057, allocations: 0.5653 MB / 0.5315 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.059, allocations: 0.4961 MB / 0.532 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.075, allocations: 19.81 MB / 0.5513 GB, free: 99.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.076, allocations: 71.61 kB / 0.5514 GB, free: 99.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.076, allocations: 48.61 kB / 0.5515 GB, free: 99.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.076, allocations: 4.781 kB / 0.5515 GB, free: 99.51 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004679/1.081, allocations: 1.731 MB / 0.5532 GB, free: 99.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003986/1.085, allocations: 1.473 MB / 0.5546 GB, free: 99.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.088, allocations: 0.5284 MB / 0.5551 GB, free: 99.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.089, allocations: 237.4 kB / 0.5553 GB, free: 99.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.103, allocations: 18.48 MB / 0.5734 GB, free: 84.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/1.104, allocations: 58.28 kB / 0.5734 GB, free: 84.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.104, allocations: 49.84 kB / 0.5735 GB, free: 84.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (127): * Single equations (assignments): 117 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/1.105, allocations: 172 kB / 0.5736 GB, free: 84.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/1.105, allocations: 104.3 kB / 0.5737 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/1.108, allocations: 1.35 MB / 0.5751 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.108, allocations: 9.344 kB / 0.5751 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.108, allocations: 4.438 kB / 0.5751 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.108, allocations: 4.984 kB / 0.5751 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/1.115, allocations: 2.842 MB / 0.5779 GB, free: 82.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.931e-06/1.115, allocations: 0 / 0.5779 GB, free: 82.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/1.116, allocations: 138.7 kB / 0.578 GB, free: 82.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/1.117, allocations: 391.3 kB / 0.5784 GB, free: 82.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/1.117, allocations: 27.44 kB / 0.5784 GB, free: 82.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00811/1.126, allocations: 8.676 MB / 0.5869 GB, free: 74.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.082e-06/1.126, allocations: 3.938 kB / 0.5869 GB, free: 74.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/1.129, allocations: 1.99 MB / 0.5888 GB, free: 73.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/1.13, allocations: 266.4 kB / 0.5891 GB, free: 73.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/1.13, allocations: 30.73 kB / 0.5891 GB, free: 73.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007733/1.131, allocations: 46.66 kB / 0.5891 GB, free: 73.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.131, allocations: 74.34 kB / 0.5892 GB, free: 73.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/1.131, allocations: 33.75 kB / 0.5892 GB, free: 73.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009232/1.132, allocations: 0.5592 MB / 0.5898 GB, free: 72.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.132, allocations: 0 / 0.5898 GB, free: 72.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003151/1.136, allocations: 0.6586 MB / 0.5904 GB, free: 72.91 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 (66): * Single equations (assignments): 60 * 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.0003575/1.136, allocations: 203.7 kB / 0.5906 GB, free: 72.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006314/1.142, allocations: 3.343 MB / 0.5939 GB, free: 70.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.78e-06/1.142, allocations: 1.812 kB / 0.5939 GB, free: 70.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.144, allocations: 1.102 MB / 0.595 GB, free: 70.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.145, allocations: 205 kB / 0.5952 GB, free: 70.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/1.15, allocations: 2.611 MB / 0.5977 GB, free: 68.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.152, allocations: 1.359 MB / 0.599 GB, free: 68.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/1.152, allocations: 80.97 kB / 0.5991 GB, free: 68.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.974e-06/1.152, allocations: 0 / 0.5991 GB, free: 68.09 MB / 458.7 MB Notification: Performance of Templates: time 0.05449/1.207, allocations: 50.59 MB / 0.6485 GB, free: 36.55 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:482: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_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:491: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_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:630: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); ^ 3 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1