Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters.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.Static.StaticGridComputedParameters,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 198.6 kB / 16.14 MB, free: 6.66 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.168/1.168, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05654/0.05654, allocations: 14.15 MB / 283.5 MB, free: 7.312 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.001391/0.001391, allocations: 67.91 kB / 346.6 MB, free: 17.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06739/0.0688, allocations: 50.13 MB / 396.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters): time 0.01016/0.07898, allocations: 12.47 MB / 409.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007313/0.08632, allocations: 5.455 MB / 414.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.08761, allocations: 35.81 kB / 414.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.08904, allocations: 0.5443 MB / 415.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.09377, allocations: 2.136 MB / 417.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.09525, allocations: 0.829 MB / 418.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.09891, allocations: 3.715 MB / 421.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.09929, allocations: 241.9 kB / 422.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.1006, allocations: 0.9719 MB / 423.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.1018, allocations: 1.097 MB / 424.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.102, allocations: 68 kB / 424.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008515/0.1028, allocations: 451.7 kB / 424.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.103, allocations: 282.4 kB / 425 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.1038, allocations: 0.948 MB / 425.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1257/0.2295, allocations: 2.435 MB / 428.4 MB, free: 18.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2296, allocations: 0 / 428.4 MB, free: 18.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2296, allocations: 1.438 kB / 428.4 MB, free: 18.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.084e-05/0.2296, allocations: 0 / 428.4 MB, free: 18.8 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.007632/0.2373, allocations: 2.896 MB / 431.3 MB, free: 17.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2373, allocations: 9.812 kB / 431.3 MB, free: 17.86 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.2375, allocations: 185 kB / 431.4 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000946/0.2385, allocations: 288 kB / 431.7 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.24, allocations: 1.115 MB / 432.8 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.2401, allocations: 106.2 kB / 432.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.2403, allocations: 142.3 kB / 433.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.242, allocations: 1.273 MB / 434.4 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2421, allocations: 0 / 434.4 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.2421, allocations: 53.16 kB / 434.4 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.2422, allocations: 35.03 kB / 434.4 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.2443, allocations: 1.296 MB / 435.7 MB, free: 17.12 MB / 318.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.007652/0.252, allocations: 8.322 MB / 444.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2539, allocations: 2.088 MB / 446.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.2545, allocations: 0.5189 MB / 446.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.677e-05/0.2546, allocations: 18.97 kB / 446.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2547, allocations: 52.78 kB / 446.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 2.695e-06/0.2547, allocations: 0 / 446.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.006982/0.2616, allocations: 2.712 MB / 449.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2617, allocations: 70.47 kB / 449.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.2627, allocations: 1.091 MB / 450.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-05/0.2628, allocations: 56.23 kB / 450.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.2631, allocations: 0.6765 MB / 451.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2634, allocations: 0.4918 MB / 451.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.2638, allocations: 363.8 kB / 452.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 2.732e-05/0.2639, allocations: 301.1 kB / 452.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/0.2646, allocations: 0.5518 MB / 453 MB, free: 7.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/0.2655, allocations: 1.014 MB / 454 MB, free: 6.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.2671, allocations: 1.596 MB / 455.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.2671, allocations: 2.562 kB / 455.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.003817/0.2709, allocations: 2.331 MB / 458 MB, free: 4.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2709, allocations: 10.16 kB / 458 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.271, allocations: 17.58 kB / 458 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005601/0.2766, allocations: 1.171 MB / 459.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.278, allocations: 468.5 kB / 459.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.2886, allocations: 12.52 MB / 472.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.2901, allocations: 182.2 kB / 472.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.2902, allocations: 79.98 kB / 472.4 MB, free: 6.254 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(23,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005564/0.2908, allocations: 359.8 kB / 472.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.291, allocations: 158.1 kB / 472.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.2936, allocations: 1.525 MB / 474.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2937, allocations: 16 kB / 474.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2937, allocations: 7.938 kB / 474.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2937, allocations: 3.984 kB / 474.5 MB, free: 4.223 MB / 334.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.004285/0.298, allocations: 3.156 MB / 477.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.298, allocations: 3.281 kB / 477.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009854/0.299, allocations: 245.6 kB / 477.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.3, allocations: 248.5 kB / 478.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.3001, allocations: 27.98 kB / 478.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005798/0.3059, allocations: 3.796 MB / 481.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3059, allocations: 0 / 481.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.3092, allocations: 2.138 MB / 484.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.3097, allocations: 323 kB / 484.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.3099, allocations: 32.12 kB / 484.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.3105, allocations: 47.69 kB / 484.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.3107, allocations: 96.12 kB / 484.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.3108, allocations: 32 kB / 484.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007893/0.3116, allocations: 0.6886 MB / 485.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3116, allocations: 0 / 485.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00133/0.3129, allocations: 0.531 MB / 485.8 MB, free: 8.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (GEN.theta,GEN.omegaPu,GEN.lambdaDPu,GEN.lambdafPu,GEN.lambdaQ1Pu,GEN.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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 {(36,0,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003593/0.3165, allocations: 2.812 MB / 488.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004059/0.3206, allocations: 2.741 MB / 491.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3206, allocations: 0 / 491.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.3228, allocations: 1.204 MB / 492.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.3237, allocations: 180.8 kB / 492.7 MB, free: 1.719 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.3432, allocations: 14 MB / 0.4949 GB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.3439, allocations: 1.223 MB / 0.4961 GB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007575/0.3446, allocations: 187.5 kB / 0.4962 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/0.3453, allocations: 0.5525 MB / 0.4968 GB, free: 0.918 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3453, allocations: 4 kB / 0.4968 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.3896, allocations: 32.03 MB / 0.528 GB, free: 1 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.3898, allocations: 271 kB / 0.5283 GB, free: 0.6367 MB / 398.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.o] Error 1