Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00233/0.00233, allocations: 189.1 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 90.3 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2712/0.2712, allocations: 37.98 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.678e-06, allocations: 4 kB / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09546, allocations: 56.31 MB / 465.6 MB, free: 6.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4706, allocations: 123.3 MB / 0.5752 GB, free: 3.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/0.471, allocations: 95.94 kB / 0.5753 GB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.209/0.68, allocations: 42.16 MB / 0.6164 GB, free: 8.723 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001649/0.6803, allocations: 32 kB / 0.6165 GB, free: 8.691 MB / 458.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.007357/0.6876, allocations: 1.428 MB / 0.6179 GB, free: 7.215 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.6877, allocations: 8.031 kB / 0.6179 GB, free: 7.207 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/0.6924, allocations: 285.8 kB / 0.6181 GB, free: 6.926 MB / 458.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.008201/0.7007, allocations: 1.698 MB / 0.6198 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.7008, allocations: 36 kB / 0.6198 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.7012, allocations: 87.83 kB / 0.6199 GB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003676/0.7049, allocations: 1.18 MB / 0.6211 GB, free: 3.875 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004129/0.7091, allocations: 1.496 MB / 0.6225 GB, free: 2.305 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.377e-05/0.7092, allocations: 11.84 kB / 0.6225 GB, free: 2.293 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.7094, allocations: 0 / 0.6225 GB, free: 2.293 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.7096, allocations: 98.38 kB / 0.6226 GB, free: 2.195 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.7246, allocations: 5.752 MB / 0.6283 GB, free: 12.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.7264, allocations: 0.6698 MB / 0.6289 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.7275, allocations: 433.5 kB / 0.6293 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-05/0.7276, allocations: 16.62 kB / 0.6293 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.7277, allocations: 43.22 kB / 0.6294 GB, free: 10.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=75): time 3.176e-06/0.7277, allocations: 0 / 0.6294 GB, free: 10.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=87): time 0.01124/0.739, allocations: 3.209 MB / 0.6325 GB, free: 7.672 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.7391, allocations: 166.9 kB / 0.6327 GB, free: 7.473 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.7405, allocations: 0.6095 MB / 0.6333 GB, free: 6.852 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.7407, allocations: 25.7 kB / 0.6333 GB, free: 6.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.7411, allocations: 0.5474 MB / 0.6338 GB, free: 6.266 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.7416, allocations: 303.5 kB / 0.6341 GB, free: 5.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.7417, allocations: 3.938 kB / 0.6341 GB, free: 5.961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7418, allocations: 362.8 kB / 0.6345 GB, free: 5.598 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.7432, allocations: 458.5 kB / 0.6349 GB, free: 5.148 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.7448, allocations: 0.7483 MB / 0.6356 GB, free: 4.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.7464, allocations: 0.5885 MB / 0.6362 GB, free: 3.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.7464, allocations: 4 kB / 0.6362 GB, free: 3.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006907/0.7533, allocations: 1.756 MB / 0.6379 GB, free: 1.898 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1756/0.929, allocations: 3.393 MB / 0.6412 GB, free: 178 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00763/0.9367, allocations: 1.446 MB / 0.6426 GB, free: 178 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/0.9417, allocations: 0.5648 MB / 0.6432 GB, free: 177.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/0.9465, allocations: 0.5117 MB / 0.6437 GB, free: 177.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/0.9723, allocations: 14.83 MB / 0.6582 GB, free: 166.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.9741, allocations: 47.44 kB / 0.6582 GB, free: 166.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.9743, allocations: 49.56 kB / 0.6583 GB, free: 166.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9743, allocations: 0 / 0.6583 GB, free: 166.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006744/0.9811, allocations: 1.672 MB / 0.6599 GB, free: 166.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00532/0.9865, allocations: 1.436 MB / 0.6613 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/0.9901, allocations: 0.5666 MB / 0.6619 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.9918, allocations: 220.8 kB / 0.6621 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.009, allocations: 13.48 MB / 0.6752 GB, free: 156.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.01, allocations: 31.88 kB / 0.6753 GB, free: 156.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.01, allocations: 43.28 kB / 0.6753 GB, free: 156.5 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o 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 w/o 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 w/o 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.0004101/1.01, allocations: 69.36 kB / 0.6754 GB, free: 156.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/1.011, allocations: 95.78 kB / 0.6755 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/1.015, allocations: 1.338 MB / 0.6768 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/1.015, allocations: 13.06 kB / 0.6768 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.015, allocations: 3.344 kB / 0.6768 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.015, allocations: 6.625 kB / 0.6768 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007857/1.023, allocations: 2.792 MB / 0.6795 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.023, allocations: 7.656 kB / 0.6795 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.024, allocations: 142.2 kB / 0.6797 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1.026, allocations: 410.5 kB / 0.6801 GB, free: 155.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/1.026, allocations: 24.66 kB / 0.6801 GB, free: 155.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009809/1.036, allocations: 8.311 MB / 0.6882 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.036, allocations: 7.5 kB / 0.6882 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004991/1.041, allocations: 2.17 MB / 0.6903 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008425/1.042, allocations: 265.9 kB / 0.6906 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/1.042, allocations: 16.88 kB / 0.6906 GB, free: 148.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.043, allocations: 40.92 kB / 0.6906 GB, free: 148.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.044, allocations: 59.8 kB / 0.6907 GB, free: 148.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.035e-05/1.044, allocations: 27.62 kB / 0.6907 GB, free: 148.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000886/1.045, allocations: 471.9 kB / 0.6912 GB, free: 148 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003668/1.048, allocations: 0.5664 MB / 0.6917 GB, free: 148 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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%) 1,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004325/1.049, allocations: 185.8 kB / 0.6919 GB, free: 147.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009532/1.058, allocations: 3.409 MB / 0.6952 GB, free: 146.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.058, allocations: 0 / 0.6952 GB, free: 146.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/1.061, allocations: 1.073 MB / 0.6963 GB, free: 145.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.063, allocations: 182.8 kB / 0.6964 GB, free: 145.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/1.071, allocations: 2.692 MB / 0.6991 GB, free: 144.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.073, allocations: 1.445 MB / 0.7005 GB, free: 143.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/1.073, allocations: 0 / 0.7005 GB, free: 143.4 MB / 474.7 MB Notification: Performance of Templates: time 0.07806/1.151, allocations: 51.88 MB / 0.7511 GB, free: 106.7 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 b'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=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp:29:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:647:83: error: use of undeclared identifier \'turboGen_P_excitation_P_generator_P_par_P_V_nom_\'\n SystemDefaultImplementation::setRealStartValue(_turboGen_P_excitation_P_V_nom_, turboGen_P_excitation_P_generator_P_par_P_V_nom_, false);\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:656:84: error: use of undeclared identifier \'turboGen_P_excitation_P_generator_P_Vf_nom_\'\n SystemDefaultImplementation::setRealStartValue(_turboGen_P_excitation_P_Vf_nom_, turboGen_P_excitation_P_generator_P_Vf_nom_, false);\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:785:78: error: use of undeclared identifier \'turboGen_P_rotor_P_generator_P_par_P_S_nom_\'\n SystemDefaultImplementation::setRealStartValue(_turboGen_P_rotor_P_P_nom_, turboGen_P_rotor_P_generator_P_par_P_S_nom_, false);\n ^\n3 errors generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1\n'