Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008657/0.008656, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 189.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06179/0.06179, allocations: 14.17 MB / 284.1 MB, free: 6.863 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 68.12 kB / 398.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2491, allocations: 50.13 MB / 448.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen): time 0.01614/0.2653, allocations: 16.26 MB / 464.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2775, allocations: 7.186 MB / 471.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.2804, allocations: 71.62 kB / 471.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.2833, allocations: 0.8533 MB / 472.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.291, allocations: 2.706 MB / 475.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.2946, allocations: 1.735 MB / 477.1 MB, free: 10.01 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2652:11-2652:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.007165/0.3018, allocations: 5.489 MB / 482.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.3033, allocations: 0.8703 MB / 483.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.306, allocations: 1.872 MB / 485.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.3088, allocations: 1.918 MB / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008276/0.3097, allocations: 352 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.3118, allocations: 0.7692 MB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008515/0.3127, allocations: 0.7045 MB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002492/0.3152, allocations: 1.777 MB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005863/0.3211, allocations: 5.001 MB / 495.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3211, allocations: 0 / 495.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3211, allocations: 0 / 495.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.792e-05/0.3212, allocations: 0 / 495.8 MB, free: 7.164 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01389/0.3351, allocations: 4.336 MB / 0.4884 GB, free: 2.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3351, allocations: 15.97 kB / 0.4884 GB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006017/0.3358, allocations: 283.3 kB / 0.4887 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.3378, allocations: 432.8 kB / 0.4891 GB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/0.3426, allocations: 2.145 MB / 0.4912 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3427, allocations: 172 kB / 0.4914 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.3432, allocations: 227.9 kB / 0.4916 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.3474, allocations: 2.187 MB / 0.4937 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.3474, allocations: 3.938 kB / 0.4937 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.3476, allocations: 88 kB / 0.4938 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.3477, allocations: 52 kB / 0.4939 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.3517, allocations: 2.045 MB / 0.4959 GB, free: 10.9 MB / 382.1 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 preOpt removeSimpleEquations (simulation): time 0.02474/0.3764, allocations: 13.16 MB / 0.5087 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/0.381, allocations: 2.791 MB / 0.5114 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.3826, allocations: 0.9088 MB / 0.5123 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.3828, allocations: 29.89 kB / 0.5124 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/0.3847, allocations: 1.138 MB / 0.5135 GB, free: 7.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=209): time 4.689e-06/0.3847, allocations: 0 / 0.5135 GB, free: 7.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=209): time 0.01084/0.3956, allocations: 3.948 MB / 0.5173 GB, free: 3.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.3958, allocations: 360.1 kB / 0.5177 GB, free: 3.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/0.399, allocations: 1.913 MB / 0.5195 GB, free: 1.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.3993, allocations: 73.7 kB / 0.5196 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009945/0.4003, allocations: 1.058 MB / 0.5206 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008033/0.4011, allocations: 0.7241 MB / 0.5213 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/0.402, allocations: 481.5 kB / 0.5218 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.4021, allocations: 305.1 kB / 0.5221 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.4039, allocations: 0.9266 MB / 0.523 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.4061, allocations: 1.476 MB / 0.5244 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.4099, allocations: 2.355 MB / 0.5267 GB, free: 9.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.4099, allocations: 4 kB / 0.5267 GB, free: 9.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009512/0.4194, allocations: 3.991 MB / 0.5306 GB, free: 5.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/0.4195, allocations: 74.98 kB / 0.5307 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.4196, allocations: 12 kB / 0.5307 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009219/0.4288, allocations: 1.851 MB / 0.5325 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.431, allocations: 0.5188 MB / 0.533 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02749/0.4585, allocations: 22.24 MB / 0.5548 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.4616, allocations: 257.8 kB / 0.555 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/0.4621, allocations: 95.98 kB / 0.5551 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003076/0.4652, allocations: 1.212 MB / 0.5563 GB, free: 9.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002556/0.4678, allocations: 1.351 MB / 0.5576 GB, free: 7.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004081/0.4719, allocations: 2.187 MB / 0.5597 GB, free: 5.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.313e-05/0.472, allocations: 7.938 kB / 0.5597 GB, free: 5.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.008635/0.4806, allocations: 3.16 MB / 0.5628 GB, free: 2.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.4807, allocations: 67.39 kB / 0.5629 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.4808, allocations: 12 kB / 0.5629 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007047/0.4878, allocations: 1.308 MB / 0.5642 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.4905, allocations: 0.5968 MB / 0.5648 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/0.507, allocations: 17.03 MB / 0.5814 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.5096, allocations: 190.5 kB / 0.5816 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004049/0.51, allocations: 92 kB / 0.5817 GB, free: 13.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 15 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re,ctrlGEN.PSS.firstWashoutVsi2.integrator.local_reset,ctrlGEN.PSS.secondWashoutVsi1.integrator.local_reset,ctrlGEN.PSS.firstWashoutVsi1.integrator.local_reset,ctrlGEN.AVR.firstOrderLim.I.local_reset,ctrlGEN.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0009333/0.511, allocations: 400.7 kB / 0.5821 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009343/0.5119, allocations: 249 kB / 0.5823 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/0.5172, allocations: 2.432 MB / 0.5847 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.5172, allocations: 16 kB / 0.5847 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.5173, allocations: 8 kB / 0.5847 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.5173, allocations: 11.95 kB / 0.5847 GB, free: 10.31 MB / 478.1 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.009709/0.527, allocations: 5.374 MB / 0.5899 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.527, allocations: 0 / 0.5899 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.5287, allocations: 351.5 kB / 0.5903 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.53, allocations: 272.5 kB / 0.5905 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.5302, allocations: 51.97 kB / 0.5906 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2279/0.7582, allocations: 4.585 MB / 0.5951 GB, free: 138.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.7582, allocations: 0 / 0.5951 GB, free: 138.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007085/0.7653, allocations: 3.488 MB / 0.5985 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.7666, allocations: 0.5511 MB / 0.599 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/0.7669, allocations: 47.56 kB / 0.5991 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.7684, allocations: 80.02 kB / 0.5991 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/0.7687, allocations: 141.4 kB / 0.5993 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.7689, allocations: 54.7 kB / 0.5993 GB, free: 137.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.7709, allocations: 1.252 MB / 0.6005 GB, free: 137.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7709, allocations: 1.188 kB / 0.6005 GB, free: 137.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004352/0.7753, allocations: 1.369 MB / 0.6019 GB, free: 137.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (ctrlGEN.GEN.theta,ctrlGEN.GEN.omegaPu,ctrlGEN.GEN.lambdaDPu,ctrlGEN.GEN.lambdafPu,ctrlGEN.GEN.lambdaQ1Pu,ctrlGEN.GEN.lambdaQ2Pu,ctrlGEN.TGOV.firstOrderLim.I.y,ctrlGEN.TGOV.leadLag.firstOrder.y,ctrlGEN.AVR.leadLag.firstOrder.y,ctrlGEN.AVR.firstOrderLim.I.y,ctrlGEN.PSS.firstWashoutVsi1.integrator.y,ctrlGEN.PSS.secondWashoutVsi1.integrator.y,ctrlGEN.PSS.firstWashoutVsi2.integrator.y,ctrlGEN.PSS.leadLag1.firstOrder.y,ctrlGEN.PSS.leadLag2.firstOrder.y,ctrlGEN.PSS.firstOrderVsi2.firstOrder1.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,NTHV.Y.re,NTHV.Y.im,NTHV.fault) * Number of discrete states: 7 ($whenCondition4,NTHV.Y.im,NTHV.Y.re,$whenCondition3,NTHV.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(38,0,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006407/0.7817, allocations: 4.202 MB / 0.606 GB, free: 135.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01177/0.7935, allocations: 7.807 MB / 0.6136 GB, free: 131.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7935, allocations: 7.969 kB / 0.6136 GB, free: 131.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.7966, allocations: 1.751 MB / 0.6153 GB, free: 130.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.7989, allocations: 490.5 kB / 0.6158 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/0.8333, allocations: 21.78 MB / 0.6371 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.8346, allocations: 1.626 MB / 0.6387 GB, free: 108.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001526/0.8361, allocations: 333.3 kB / 0.639 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.8374, allocations: 0.9952 MB / 0.6399 GB, free: 107.1 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8374, allocations: 7.938 kB / 0.64 GB, free: 107.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/0.9711, allocations: 69.28 MB / 0.7076 GB, free: 37.72 MB / 478.1 MB Error: Error building simulator. Build log: cmd: cd 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/build_cmake_dynamic [ 0%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgemm.c.o [ 1%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dger.c.o [ 2%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgesv.c.o [ 3%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgetf2.c.o [ 4%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgetrf.c.o [ 5%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgetrs.c.o [ 6%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dlamch.c.o [ 7%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dlaswp.c.o [ 8%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dogleg_.c.o [ 9%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dpmpar_.c.o [ 10%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dscal.c.o [ 11%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dswap.c.o [ 12%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dtrsm.c.o [ 13%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/enorm_.c.o [ 14%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/hybrj_.c.o [ 15%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/i_nint.c.o [ 16%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/idamax.c.o [ 17%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/ieeeck.c.o [ 18%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/ilaenv.c.o [ 19%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/iparmq.c.o [ 20%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/lsame.c.o [ 21%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/pow_di.c.o [ 22%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/qform_.c.o [ 23%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/qrfac_.c.o [ 24%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/r1mpyq_.c.o [ 25%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/r1updt_.c.o [ 26%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/s_cmp.c.o [ 27%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/s_copy.c.o [ 28%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/xerbla.c.o [ 29%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/gc/memory_pool.c.o [ 30%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/gc/omc_gc.c.o [ 31%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/math-support/pivot.c.o [ 32%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/meta/meta_modelica_catch.c.o [ 33%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/jacobian_util.c.o [ 33%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/omc_simulation_util.c.o [ 34%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/options.c.o [ 35%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/simulation_info_json.c.o [ 36%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/simulation_omc_assert.c.o [ 37%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/delay.c.o [ 38%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/fmi_events.c.o [ 39%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/initialization/initialization.c.o [ 40%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/linearSolverLapack.c.o [ 41%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/linearSolverTotalPivot.c.o [ 42%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/linearSystem.c.o [ 43%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/model_help.c.o [ 44%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 45%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 46%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearSystem.c.o [ 47%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearValuesList.c.o [ 48%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/omc_math.c.o [ 49%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/spatialDistribution.c.o [ 50%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/stateset.c.o [ 51%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/synchronous.c.o [ 52%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/ModelicaUtilities.c.o [ 53%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/base_array.c.o [ 54%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/boolean_array.c.o [ 55%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/context.c.o [ 56%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/division.c.o [ 57%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/doubleEndedList.c.o [ 58%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/generic_array.c.o [ 59%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/index_spec.c.o [ 60%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/integer_array.c.o [ 61%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/list.c.o [ 62%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/modelica_string.c.o [ 63%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/modelica_string_lit.c.o [ 64%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_error.c.o [ 65%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_file.c.o [ 66%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_init.c.o [ 66%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_mmap.c.o [ 67%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_msvc.c.o [ 68%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_numbers.c.o [ 69%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/parallel_helper.c.o [ 70%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/rational.c.o [ 71%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/real_array.c.o [ 72%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/ringbuffer.c.o [ 73%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/simulation_options.c.o [ 74%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/string_array.c.o [ 75%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/utility.c.o [ 76%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/varinfo.c.o [ 77%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake[2]: *** [CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/build.make:1182: CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2