Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009454/0.0009453, allocations: 173 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007568/0.0007567, allocations: 89.05 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2069/0.2069, allocations: 38.08 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.000334, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.3762, allocations: 124.2 MB / 0.5903 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.3766, allocations: 99.94 kB / 0.5904 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1156/0.4922, allocations: 42.54 MB / 0.6319 GB, free: 14.95 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4923, allocations: 4 kB / 0.6319 GB, free: 14.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.758e-05/0.4923, allocations: 32 kB / 0.6319 GB, free: 14.92 MB / 474.7 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.003141/0.4955, allocations: 1.578 MB / 0.6335 GB, free: 13.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4955, allocations: 12.02 kB / 0.6335 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.497, allocations: 272.7 kB / 0.6338 GB, free: 13.01 MB / 474.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.003054/0.5001, allocations: 1.413 MB / 0.6351 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.5002, allocations: 90.34 kB / 0.6352 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.5005, allocations: 135.8 kB / 0.6354 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.5035, allocations: 1.687 MB / 0.637 GB, free: 9.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.5035, allocations: 0 / 0.637 GB, free: 9.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.5037, allocations: 51.98 kB / 0.637 GB, free: 9.512 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.5038, allocations: 94.38 kB / 0.6371 GB, free: 9.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.5063, allocations: 1.422 MB / 0.6385 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.5205, allocations: 6.138 MB / 0.6445 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.5221, allocations: 0.7018 MB / 0.6452 GB, free: 0.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.5232, allocations: 468.4 kB / 0.6457 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.5233, allocations: 16.58 kB / 0.6457 GB, free: 316 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.5233, allocations: 47.16 kB / 0.6457 GB, free: 260 kB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 4.598e-06/0.5234, allocations: 0 / 0.6457 GB, free: 260 kB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.2799/0.8032, allocations: 4.457 MB / 0.6501 GB, free: 123.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.8034, allocations: 168.1 kB / 0.6502 GB, free: 123.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.8052, allocations: 0.8501 MB / 0.6511 GB, free: 123.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.8054, allocations: 39.58 kB / 0.6511 GB, free: 123.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/0.806, allocations: 0.631 MB / 0.6517 GB, free: 122.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.8063, allocations: 297.9 kB / 0.652 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.8064, allocations: 24.84 kB / 0.652 GB, free: 122.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8065, allocations: 354.5 kB / 0.6524 GB, free: 122.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.8078, allocations: 0.4941 MB / 0.6528 GB, free: 122.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.8093, allocations: 0.7955 MB / 0.6536 GB, free: 122.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.8121, allocations: 1.332 MB / 0.6549 GB, free: 121.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.8121, allocations: 7.25 kB / 0.6549 GB, free: 121.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00604/0.8181, allocations: 1.961 MB / 0.6568 GB, free: 121.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.8184, allocations: 337.6 kB / 0.6572 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004792/0.8232, allocations: 1.563 MB / 0.6587 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/0.8262, allocations: 0.5701 MB / 0.6592 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.8289, allocations: 498.7 kB / 0.6597 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.8499, allocations: 21.7 MB / 0.6809 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.8518, allocations: 74.16 kB / 0.681 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.852, allocations: 46.97 kB / 0.681 GB, free: 103.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.852, allocations: 6.125 kB / 0.681 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005192/0.8572, allocations: 1.786 MB / 0.6828 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004403/0.8616, allocations: 1.503 MB / 0.6842 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/0.8646, allocations: 0.5709 MB / 0.6848 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.866, allocations: 235.4 kB / 0.685 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.8812, allocations: 18.63 MB / 0.7032 GB, free: 85.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8827, allocations: 61.2 kB / 0.7033 GB, free: 85.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.8828, allocations: 49.12 kB / 0.7033 GB, free: 85.37 MB / 474.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 () * Number of clocked 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%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001308/0.8841, allocations: 0.5056 MB / 0.7038 GB, free: 85.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.8845, allocations: 102.8 kB / 0.7039 GB, free: 84.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/0.8882, allocations: 1.422 MB / 0.7053 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.8883, allocations: 11.28 kB / 0.7053 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.8883, allocations: 2.969 kB / 0.7053 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.8883, allocations: 3.188 kB / 0.7053 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/0.8952, allocations: 2.898 MB / 0.7082 GB, free: 83.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8952, allocations: 0 / 0.7082 GB, free: 83.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.8957, allocations: 134.7 kB / 0.7083 GB, free: 83.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009862/0.8967, allocations: 394.7 kB / 0.7087 GB, free: 82.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.8968, allocations: 34.53 kB / 0.7087 GB, free: 82.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/0.9026, allocations: 8.681 MB / 0.7172 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9026, allocations: 7.812 kB / 0.7172 GB, free: 75.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.9054, allocations: 1.95 MB / 0.7191 GB, free: 74.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.9059, allocations: 263.5 kB / 0.7193 GB, free: 74.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.906, allocations: 24.97 kB / 0.7194 GB, free: 74.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.9066, allocations: 52.55 kB / 0.7194 GB, free: 74.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.9067, allocations: 67.17 kB / 0.7195 GB, free: 74.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.9068, allocations: 29.7 kB / 0.7195 GB, free: 74.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007024/0.9075, allocations: 0.578 MB / 0.7201 GB, free: 73.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9075, allocations: 0 / 0.7201 GB, free: 73.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002382/0.9099, allocations: 0.6728 MB / 0.7207 GB, free: 73.86 MB / 474.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: 2 (system.initime,$cse5) * Number of discrete states: 0 () * Number of clocked 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.000293/0.9102, allocations: 193.3 kB / 0.7209 GB, free: 73.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005086/0.9153, allocations: 3.64 MB / 0.7245 GB, free: 71.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.9153, allocations: 1.812 kB / 0.7245 GB, free: 71.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.9168, allocations: 1.187 MB / 0.7256 GB, free: 71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.9183, allocations: 221.5 kB / 0.7258 GB, free: 70.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.9229, allocations: 3.863 MB / 0.7296 GB, free: 68.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/0.9237, allocations: 1.341 MB / 0.7309 GB, free: 67.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.9239, allocations: 79.58 kB / 0.731 GB, free: 67.93 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9239, allocations: 0 / 0.731 GB, free: 67.93 MB / 474.7 MB Notification: Performance of Templates: time 0.0432/0.9671, allocations: 54.21 MB / 0.7839 GB, free: 26.75 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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:348: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:357: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:496: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. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1