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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 180.9 kB / 8.012 MB, free: 1.062 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 2.061/2.061, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.00103, allocations: 82.66 kB / 261.8 MB, free: 1.668 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.2595/0.2595, allocations: 38 MB / 347.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.711e-05, allocations: 7.984 kB / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 56.32 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/0.6189, allocations: 123.4 MB / 0.5757 GB, free: 4.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.6193, allocations: 88.89 kB / 0.5758 GB, free: 4.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1847/0.8041, allocations: 42.36 MB / 0.6172 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.8041, allocations: 0 / 0.6172 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.8043, allocations: 32 kB / 0.6172 GB, free: 0.9375 MB / 410.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.005043/0.8093, allocations: 1.425 MB / 0.6186 GB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8094, allocations: 12.03 kB / 0.6186 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/0.8124, allocations: 279.2 kB / 0.6189 GB, free: 15.27 MB / 426.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.007247/0.8197, allocations: 1.719 MB / 0.6206 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.8198, allocations: 36 kB / 0.6206 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.8202, allocations: 78.78 kB / 0.6207 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003507/0.8237, allocations: 1.143 MB / 0.6218 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/0.8278, allocations: 1.46 MB / 0.6232 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.836e-05/0.8279, allocations: 11.88 kB / 0.6232 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.8281, allocations: 4 kB / 0.6232 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.8283, allocations: 90.38 kB / 0.6233 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.8449, allocations: 5.764 MB / 0.6289 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.8476, allocations: 0.7572 MB / 0.6297 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.8491, allocations: 420.9 kB / 0.6301 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.8492, allocations: 12.77 kB / 0.6301 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/0.8493, allocations: 43.34 kB / 0.6301 GB, free: 3.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 5.46e-06/0.8493, allocations: 0 / 0.6301 GB, free: 3.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.01369/0.863, allocations: 3.124 MB / 0.6332 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.8632, allocations: 170.9 kB / 0.6334 GB, free: 468 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.865, allocations: 0.6095 MB / 0.634 GB, free: 15.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.8653, allocations: 25.7 kB / 0.634 GB, free: 15.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/0.8662, allocations: 0.6529 MB / 0.6346 GB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/0.8668, allocations: 303.6 kB / 0.6349 GB, free: 14.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.8669, allocations: 0 / 0.6349 GB, free: 14.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.8672, allocations: 362.8 kB / 0.6353 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.8688, allocations: 438.5 kB / 0.6357 GB, free: 14.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.8708, allocations: 0.7369 MB / 0.6364 GB, free: 13.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.8728, allocations: 0.5746 MB / 0.6369 GB, free: 12.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.8728, allocations: 4 kB / 0.637 GB, free: 12.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008291/0.8811, allocations: 1.738 MB / 0.6386 GB, free: 10.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002035/0.8832, allocations: 3.402 MB / 0.642 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007195/0.8904, allocations: 1.433 MB / 0.6434 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004897/0.8954, allocations: 0.57 MB / 0.6439 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004525/0.9, allocations: 495.4 kB / 0.6444 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02829/0.9283, allocations: 19.8 MB / 0.6637 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.9299, allocations: 39.95 kB / 0.6638 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.9301, allocations: 55.98 kB / 0.6638 GB, free: 15.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9301, allocations: 13.75 kB / 0.6638 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005917/0.9361, allocations: 1.639 MB / 0.6654 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005185/0.9413, allocations: 1.414 MB / 0.6668 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/0.9447, allocations: 0.5543 MB / 0.6674 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.9464, allocations: 219.6 kB / 0.6676 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.9695, allocations: 18.46 MB / 0.6856 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.9707, allocations: 27.91 kB / 0.6856 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.9708, allocations: 51.94 kB / 0.6857 GB, free: 8.098 MB / 490.7 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.0004777/0.9713, allocations: 145.5 kB / 0.6858 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.9717, allocations: 102.7 kB / 0.6859 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.9757, allocations: 1.295 MB / 0.6872 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.9758, allocations: 12 kB / 0.6872 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.9758, allocations: 4 kB / 0.6872 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.9758, allocations: 3.984 kB / 0.6872 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.984, allocations: 2.704 MB / 0.6898 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.9841, allocations: 4 kB / 0.6898 GB, free: 3.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.9853, allocations: 135.8 kB / 0.69 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/0.9873, allocations: 412 kB / 0.6904 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.9875, allocations: 28.27 kB / 0.6904 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.326/1.313, allocations: 8.41 MB / 0.6986 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.314, allocations: 3.531 kB / 0.6986 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/1.319, allocations: 2.007 MB / 0.7006 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/1.32, allocations: 262 kB / 0.7008 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.32, allocations: 15.56 kB / 0.7008 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.321, allocations: 41.36 kB / 0.7009 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/1.321, allocations: 67.39 kB / 0.7009 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/1.321, allocations: 31.75 kB / 0.701 GB, free: 132.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009238/1.322, allocations: 466.4 kB / 0.7014 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.22e-07/1.322, allocations: 0 / 0.7014 GB, free: 132.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004529/1.327, allocations: 0.5947 MB / 0.702 GB, free: 132.3 MB / 490.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 (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.0005356/1.327, allocations: 188.1 kB / 0.7022 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008834/1.336, allocations: 3.332 MB / 0.7054 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.336, allocations: 0 / 0.7054 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002615/1.339, allocations: 1.105 MB / 0.7065 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.341, allocations: 186.6 kB / 0.7067 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/1.347, allocations: 2.605 MB / 0.7092 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.349, allocations: 1.378 MB / 0.7106 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/1.35, allocations: 70.91 kB / 0.7106 GB, free: 129.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.173e-06/1.35, allocations: 0 / 0.7106 GB, free: 129.2 MB / 490.7 MB Notification: Performance of Templates: time 0.07484/1.425, allocations: 50.73 MB / 0.7602 GB, free: 111.7 MB / 490.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:491: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:500: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:639: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'