Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadModel(PowerSystems): time 2.303/2.303, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.808e-05, allocations: 4 kB / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3382, allocations: 53.23 MB / 357.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.007217/0.3454, allocations: 4.423 MB / 362 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.3505, allocations: 2.207 MB / 364.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.3511, allocations: 23.81 kB / 364.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.3515, allocations: 83.42 kB / 364.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.3528, allocations: 303 kB / 364.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.3537, allocations: 203.4 kB / 364.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.3544, allocations: 279.2 kB / 365.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.3559, allocations: 0.5258 MB / 365.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.3564, allocations: 191.5 kB / 365.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.3569, allocations: 171.5 kB / 366 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.3581, allocations: 319.3 kB / 366.3 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.3583, allocations: 24 kB / 366.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3586, allocations: 159.6 kB / 366.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.3588, allocations: 48 kB / 366.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3601, allocations: 0.53 MB / 367 MB, free: 5.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3601, allocations: 0 / 367 MB, free: 5.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3601, allocations: 3.938 kB / 367 MB, free: 5.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.3601, allocations: 0 / 367 MB, free: 5.98 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001431/0.3616, allocations: 0.6672 MB / 367.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3616, allocations: 8.031 kB / 367.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.3643, allocations: 223.2 kB / 367.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.3652, allocations: 353.1 kB / 368.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.3652, allocations: 33 kB / 368.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3654, allocations: 43.98 kB / 368.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.367, allocations: 0.6184 MB / 369 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.367, allocations: 7.906 kB / 369 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.3671, allocations: 23.98 kB / 369 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.629e-05/0.3672, allocations: 40.91 kB / 369 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3689, allocations: 0.605 MB / 369.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.3745, allocations: 2.261 MB / 371.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3758, allocations: 482.6 kB / 372.4 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.3759, allocations: 15.98 kB / 372.4 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3759, allocations: 34.56 kB / 372.4 MB, free: 316 kB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.145e-06/0.3759, allocations: 0 / 372.4 MB, free: 316 kB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.005881/0.3818, allocations: 1.69 MB / 374.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.3819, allocations: 89.05 kB / 374.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.3824, allocations: 242.2 kB / 374.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.3824, allocations: 29.7 kB / 374.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3827, allocations: 286.4 kB / 374.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.3829, allocations: 153.8 kB / 374.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.3829, allocations: 16.03 kB / 374.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3831, allocations: 326.8 kB / 375.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.3838, allocations: 173 kB / 375.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.3847, allocations: 298.3 kB / 375.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.3857, allocations: 227.8 kB / 375.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3857, allocations: 0 / 375.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002935/0.3887, allocations: 0.6617 MB / 376.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.3888, allocations: 4 kB / 376.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.3888, allocations: 4 kB / 376.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.3901, allocations: 173 kB / 376.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.3912, allocations: 95.83 kB / 376.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007924/0.3991, allocations: 2.593 MB / 379.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.4, allocations: 23.92 kB / 379.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.4001, allocations: 23.94 kB / 379.5 MB, free: 8.934 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005641/0.4007, allocations: 185.8 kB / 379.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.4009, allocations: 39.61 kB / 379.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.4043, allocations: 0.6411 MB / 380.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.4044, allocations: 4 kB / 380.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4044, allocations: 96 / 380.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/0.4045, allocations: 7.969 kB / 380.4 MB, free: 8.035 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005423/0.4099, allocations: 1.351 MB / 381.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.41, allocations: 8 kB / 381.7 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.411, allocations: 75.89 kB / 381.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.4123, allocations: 148.8 kB / 381.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4124, allocations: 8 kB / 381.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007214/0.4197, allocations: 2.362 MB / 384.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4197, allocations: 0 / 384.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.4235, allocations: 0.9925 MB / 385.3 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.4238, allocations: 104.7 kB / 385.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.424, allocations: 16 kB / 385.4 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.4246, allocations: 15.98 kB / 385.4 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.4248, allocations: 31.95 kB / 385.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.4249, allocations: 16 kB / 385.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.4253, allocations: 193.9 kB / 385.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.647e-06/0.4254, allocations: 0 / 385.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001466/0.4268, allocations: 143.9 kB / 385.8 MB, free: 2.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002596/0.4271, allocations: 115.8 kB / 385.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.4301, allocations: 0.6582 MB / 386.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.4302, allocations: 4.125 kB / 386.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.4321, allocations: 414.5 kB / 387 MB, free: 1.082 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.4331, allocations: 57.59 kB / 387 MB, free: 1.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.4376, allocations: 1.413 MB / 388.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.4385, allocations: 0.8793 MB / 389.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.4388, allocations: 35.44 kB / 389.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4389, allocations: 0 / 389.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of Templates: time 0.02388/0.4628, allocations: 6.64 MB / 396 MB, free: 7.988 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.Generic.Test.GeneratorTest2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2Jacobian.cpp:117:56: error: use of undeclared identifier 'fixedLoad_P_terminal_P_i_P_SeedNLSJac1_' _NLSJac1jac_y(2) = ((-dot_array(/*t4*/tmp33, fixedLoad_P_terminal_P_i_P_SeedNLSJac1_)) - dot_array(/*t4*/tmp34, _fixedLoad_P_terminal_P_i_)); ^ 1 error generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o] Error 1