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.001576/0.001576, allocations: 183.1 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001135/0.001135, allocations: 98.75 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2851/0.2851, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007276/0.0007278, allocations: 8 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1197, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.6605, allocations: 124.1 MB / 0.589 GB, free: 8.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/0.6609, allocations: 97.7 kB / 0.5891 GB, free: 8.176 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2001/0.8611, allocations: 42.75 MB / 0.6309 GB, free: 3.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.8611, allocations: 8 kB / 0.6309 GB, free: 3.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.8612, allocations: 28 kB / 0.6309 GB, free: 3.496 MB / 426.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.006045/0.8673, allocations: 1.603 MB / 0.6325 GB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8674, allocations: 8.031 kB / 0.6325 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.8704, allocations: 273.9 kB / 0.6327 GB, free: 1.66 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.00712/0.8775, allocations: 1.752 MB / 0.6345 GB, free: 212 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.8777, allocations: 99.78 kB / 0.6346 GB, free: 148 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/0.8782, allocations: 128 kB / 0.6347 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.8829, allocations: 1.676 MB / 0.6363 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.052e-05/0.883, allocations: 4 kB / 0.6363 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.8833, allocations: 51.27 kB / 0.6364 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.8835, allocations: 103.2 kB / 0.6365 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.8881, allocations: 1.42 MB / 0.6378 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/0.9036, allocations: 6.13 MB / 0.6438 GB, free: 6.879 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.9058, allocations: 0.7211 MB / 0.6445 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.9059, allocations: 12.72 kB / 0.6446 GB, free: 6.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.906, allocations: 47.22 kB / 0.6446 GB, free: 6.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/0.906, allocations: 0 / 0.6446 GB, free: 6.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.01763/0.9236, allocations: 4.463 MB / 0.649 GB, free: 1.461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.9238, allocations: 166.9 kB / 0.6491 GB, free: 1.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.9255, allocations: 0.7509 MB / 0.6498 GB, free: 500 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.9259, allocations: 41.7 kB / 0.6499 GB, free: 452 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.9265, allocations: 0.6336 MB / 0.6505 GB, free: 15.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/0.9271, allocations: 299.8 kB / 0.6508 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.9272, allocations: 24 kB / 0.6508 GB, free: 15.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.9275, allocations: 366.7 kB / 0.6512 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.929, allocations: 0.4945 MB / 0.6516 GB, free: 14.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.931, allocations: 0.7893 MB / 0.6524 GB, free: 13.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.933, allocations: 0.6276 MB / 0.653 GB, free: 13.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.933, allocations: 4 kB / 0.653 GB, free: 13.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007062/0.9401, allocations: 1.898 MB / 0.6549 GB, free: 11.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001558/0.9417, allocations: 3.231 MB / 0.658 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006111/0.9479, allocations: 1.553 MB / 0.6596 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/0.9516, allocations: 0.5661 MB / 0.6601 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/0.9552, allocations: 0.4955 MB / 0.6606 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/0.9814, allocations: 20.19 MB / 0.6803 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.9831, allocations: 79.94 kB / 0.6804 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.9833, allocations: 44 kB / 0.6804 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9833, allocations: 4 kB / 0.6804 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006229/0.9896, allocations: 1.78 MB / 0.6822 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005641/0.9952, allocations: 1.495 MB / 0.6836 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003298/0.9986, allocations: 0.527 MB / 0.6842 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1, allocations: 239.6 kB / 0.6844 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/1.023, allocations: 18.77 MB / 0.7027 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.024, allocations: 59.88 kB / 0.7028 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.024, allocations: 47.98 kB / 0.7028 GB, free: 7.191 MB / 0.4948 GB 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 (128): * Single equations (assignments): 118 * 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.001334/1.026, allocations: 0.5083 MB / 0.7033 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/1.026, allocations: 98.78 kB / 0.7034 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/1.031, allocations: 1.421 MB / 0.7048 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.031, allocations: 8 kB / 0.7048 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.031, allocations: 11.95 kB / 0.7048 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.031, allocations: 3.984 kB / 0.7048 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008824/1.04, allocations: 2.894 MB / 0.7076 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.04, allocations: 4 kB / 0.7076 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.041, allocations: 127.9 kB / 0.7078 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/1.043, allocations: 399.8 kB / 0.7081 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/1.043, allocations: 31.98 kB / 0.7082 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3297/1.373, allocations: 8.759 MB / 0.7167 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.373, allocations: 4.969 kB / 0.7167 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/1.379, allocations: 2.092 MB / 0.7188 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/1.38, allocations: 265.8 kB / 0.719 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/1.38, allocations: 24.97 kB / 0.7191 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.381, allocations: 50.86 kB / 0.7191 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.381, allocations: 68 kB / 0.7192 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.252e-05/1.381, allocations: 33.67 kB / 0.7192 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001422/1.383, allocations: 0.5739 MB / 0.7198 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.21e-07/1.383, allocations: 0 / 0.7198 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004357/1.387, allocations: 0.6591 MB / 0.7204 GB, free: 141.7 MB / 0.4948 GB 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.0005259/1.388, allocations: 199.8 kB / 0.7206 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.398, allocations: 3.559 MB / 0.7241 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.398, allocations: 0.5938 kB / 0.7241 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/1.401, allocations: 1.17 MB / 0.7252 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.403, allocations: 218.3 kB / 0.7254 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/1.413, allocations: 3.859 MB / 0.7292 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.414, allocations: 1.367 MB / 0.7305 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/1.415, allocations: 83.81 kB / 0.7306 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/1.415, allocations: 0 / 0.7306 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.07892/1.494, allocations: 51.18 MB / 0.7806 GB, free: 119.5 MB / 0.4948 GB 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=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\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp:29:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineInitialize.cpp:483: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:492: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:631: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'