Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008859/0.000886, allocations: 171.6 kB / 16.07 MB, free: 5.695 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.208/1.208, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.0006968/0.0006967, allocations: 87.98 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1708/0.1708, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 12 kB / 423.4 MB, free: 37.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.246, allocations: 56.33 MB / 479.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01132/0.2573, allocations: 11.96 MB / 491.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.2702, allocations: 7.192 MB / 498.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.2726, allocations: 96.25 kB / 499 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1634/0.436, allocations: 111.7 MB / 0.5963 GB, free: 3.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.4399, allocations: 0.9832 MB / 0.5973 GB, free: 2.332 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.4424, allocations: 0.6732 MB / 0.5979 GB, free: 1.664 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02267/0.4651, allocations: 16.7 MB / 0.6143 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.468, allocations: 1.989 MB / 0.6162 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03777/0.5058, allocations: 28.28 MB / 0.6438 GB, free: 2.57 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.5077, allocations: 1.121 MB / 0.6449 GB, free: 1.445 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.508, allocations: 95.98 kB / 0.645 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008961/0.5089, allocations: 355.5 kB / 0.6453 GB, free: 1.004 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007063/0.5096, allocations: 0.7051 MB / 0.646 GB, free: 304 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1874/0.697, allocations: 0.895 MB / 0.6469 GB, free: 148 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.7006, allocations: 2.462 MB / 0.6493 GB, free: 147.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.7006, allocations: 0.7812 kB / 0.6493 GB, free: 147.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7007, allocations: 2.516 kB / 0.6493 GB, free: 147.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.839e-05/0.7007, allocations: 0 / 0.6493 GB, free: 147.9 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: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.004768/0.7055, allocations: 1.966 MB / 0.6512 GB, free: 146.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7056, allocations: 10.22 kB / 0.6512 GB, free: 146.9 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003071/0.7059, allocations: 219.8 kB / 0.6514 GB, free: 146.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009869/0.7069, allocations: 267.7 kB / 0.6517 GB, free: 146.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.7098, allocations: 1.616 MB / 0.6533 GB, free: 146.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.7099, allocations: 119 kB / 0.6534 GB, free: 146.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/0.7103, allocations: 185.7 kB / 0.6536 GB, free: 146.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.7145, allocations: 1.877 MB / 0.6554 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/0.7146, allocations: 9.812 kB / 0.6554 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.7147, allocations: 60.31 kB / 0.6555 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002781/0.715, allocations: 102.4 kB / 0.6556 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.7178, allocations: 1.592 MB / 0.6571 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009393/0.7272, allocations: 6.605 MB / 0.6636 GB, free: 143.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.729, allocations: 1.463 MB / 0.665 GB, free: 142.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.7302, allocations: 0.7863 MB / 0.6658 GB, free: 142.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.7303, allocations: 12.94 kB / 0.6658 GB, free: 142.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.7315, allocations: 0.8038 MB / 0.6666 GB, free: 142 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 3.877e-06/0.7315, allocations: 0 / 0.6666 GB, free: 142 MB / 474.7 MB Notification: Performance of matching and sorting (n=129): time 0.01007/0.7416, allocations: 5.333 MB / 0.6718 GB, free: 140 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.7417, allocations: 260.7 kB / 0.672 GB, free: 139.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.743, allocations: 1.12 MB / 0.6731 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.7431, allocations: 53.89 kB / 0.6732 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.7435, allocations: 0.7581 MB / 0.6739 GB, free: 138.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.7438, allocations: 469.2 kB / 0.6744 GB, free: 138.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.7439, allocations: 34.75 kB / 0.6744 GB, free: 138.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.744, allocations: 375.3 kB / 0.6747 GB, free: 138.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/0.7449, allocations: 0.6617 MB / 0.6754 GB, free: 137.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.746, allocations: 1.039 MB / 0.6764 GB, free: 137.1 MB / 474.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.753, allocations: 3.797 MB / 0.6801 GB, free: 133.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.7531, allocations: 11.84 kB / 0.6801 GB, free: 133.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004018/0.7571, allocations: 2.742 MB / 0.6828 GB, free: 130.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.7573, allocations: 414 kB / 0.6832 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003121/0.7604, allocations: 2.228 MB / 0.6854 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.7622, allocations: 0.6446 MB / 0.686 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.7644, allocations: 0.6684 MB / 0.6867 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.7762, allocations: 16.76 MB / 0.703 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.7777, allocations: 95.92 kB / 0.7031 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.7778, allocations: 68 kB / 0.7032 GB, free: 108.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.7778, allocations: 7.188 kB / 0.7032 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003653/0.7815, allocations: 2.529 MB / 0.7057 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002937/0.7844, allocations: 2.175 MB / 0.7078 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.7862, allocations: 0.6237 MB / 0.7084 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.7877, allocations: 421.9 kB / 0.7088 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009979/0.7977, allocations: 13.69 MB / 0.7222 GB, free: 87.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.7991, allocations: 83.94 kB / 0.7222 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.7993, allocations: 71.98 kB / 0.7223 GB, free: 87.7 MB / 474.7 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization sytem: $DER.turboGrpGen.turboGroup.genRotor.w = 0.0 $DER.turboGrpGen.turboGroup.aux1.w = 0.0 $DER.turboGrpGen.turboGroup.turbine1.w = 0.0 $DER.turboGrpGen.turboGroup.turbine2.w = 0.0 $DER.turboGrpGen.turboGroup.turbine3.w = 0.0 $DER.turboGrpGen.turboGroup.turbine4.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayGrd.cnt,relayGrd.cnt,$PRE.switchGrd.t0,$PRE.switchGrd.open,$PRE.switchGrd.closed,$whenCondition2,switchGrd.control[1],switchGrd.t0,switchGrd.open,switchGrd.closed,$PRE.relayGrd.y[1],relayGrd.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 175 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 7,(1,100.0%) 3} * Non-linear torn systems: 1 {2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.8005, allocations: 0.6714 MB / 0.723 GB, free: 87.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.8007, allocations: 134.3 kB / 0.7231 GB, free: 86.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.8032, allocations: 1.821 MB / 0.7249 GB, free: 85.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.8032, allocations: 12 kB / 0.7249 GB, free: 85.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8032, allocations: 4 kB / 0.7249 GB, free: 85.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.8032, allocations: 3.984 kB / 0.7249 GB, free: 85.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.8082, allocations: 3.813 MB / 0.7286 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.8083, allocations: 7.938 kB / 0.7286 GB, free: 81.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.8101, allocations: 386.9 kB / 0.729 GB, free: 80.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/0.8104, allocations: 128.8 kB / 0.7291 GB, free: 80.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.8106, allocations: 55.97 kB / 0.7292 GB, free: 80.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.8124, allocations: 3.053 MB / 0.7322 GB, free: 77.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8124, allocations: 7.969 kB / 0.7322 GB, free: 77.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.8156, allocations: 2.632 MB / 0.7347 GB, free: 74.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006272/0.8163, allocations: 331.2 kB / 0.735 GB, free: 74.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.8165, allocations: 47.98 kB / 0.7351 GB, free: 74.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.8172, allocations: 71.92 kB / 0.7352 GB, free: 74.08 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.8175, allocations: 92.28 kB / 0.7353 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.8176, allocations: 39.98 kB / 0.7353 GB, free: 73.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.8187, allocations: 0.7721 MB / 0.736 GB, free: 73.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8187, allocations: 0 / 0.736 GB, free: 73.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002537/0.8212, allocations: 0.7539 MB / 0.7368 GB, free: 72.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 25 (turboGrpGen.generator.phi_el,turboGrpGen.generator.i_s[1],turboGrpGen.generator.i_s[2],turboGrpGen.generator.i_s[3],turboGrpGen.generator.i_rd[1],turboGrpGen.generator.i_rd[2],turboGrpGen.generator.i_rq[1],turboGrpGen.generator.i_rq[2],turboGrpGen.exciter.voltageReg.x_scaled[1],turboGrpGen.turboGroup.genRotor.w,turboGrpGen.turboGroup.aux1.phi,turboGrpGen.turboGroup.aux1.w,turboGrpGen.turboGroup.turbine1.phi,turboGrpGen.turboGroup.turbine1.w,turboGrpGen.turboGroup.turbine2.phi,turboGrpGen.turboGroup.turbine2.w,turboGrpGen.turboGroup.turbine3.phi,turboGrpGen.turboGroup.turbine3.w,turboGrpGen.turboGroup.turbine4.phi,turboGrpGen.turboGroup.turbine4.w,turboGrpGen.turboGroup.aux2.phi,turboGrpGen.turboGroup.aux2.w,line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 9 (switchGrd.control[1],$whenCondition2,$whenCondition1,switchGrd.t0,switchGrd.open,switchGrd.closed,relayGrd.y[1],relayGrd.cnt,system.initime) * Number of discrete states: 5 (relayGrd.y[1],relayGrd.cnt,$whenCondition1,switchGrd.open,switchGrd.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003578/0.8248, allocations: 3.262 MB / 0.74 GB, free: 69.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006968/0.8318, allocations: 5.164 MB / 0.745 GB, free: 63.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8318, allocations: 0 / 0.745 GB, free: 63.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.8333, allocations: 1.059 MB / 0.746 GB, free: 62.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.8352, allocations: 305.2 kB / 0.7463 GB, free: 62.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.8563, allocations: 13.35 MB / 0.7594 GB, free: 48.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/0.8574, allocations: 1.504 MB / 0.7608 GB, free: 47.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009491/0.8583, allocations: 0.675 MB / 0.7615 GB, free: 46.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8583, allocations: 0 / 0.7615 GB, free: 46.38 MB / 474.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorFMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 2 warnings generated. clang++ -std=c++14 -shared -o PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/AC3ph" -lOMCppSystem_static -lOMCppMath_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -lOMCppModelicaUtilities_static -lOMCppDgesv_static -static-libstdc++ -static-libgcc /usr/bin/ld: OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgetri(BaseArray const&, BaseArray const&, Modelica_Math_Matrices_LAPACK_dgetriType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorFunctions.cpp:133: undefined reference to `dgetri_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator.fmu] Error 1