Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.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.StaticGrid,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid",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.001793/0.001793, 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.00179/0.00179, allocations: 195 kB / 16.14 MB, free: 6.668 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.189/1.189, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05479/0.05479, allocations: 14.15 MB / 283.5 MB, free: 7.293 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.001352/0.001352, allocations: 67.91 kB / 346.6 MB, free: 17.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06943/0.0708, allocations: 50.12 MB / 396.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.0104/0.08123, allocations: 12.46 MB / 409.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007759/0.08901, allocations: 5.455 MB / 414.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.09052, allocations: 31.88 kB / 414.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.09221, allocations: 0.5482 MB / 415.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.09728, allocations: 2.135 MB / 417.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.09892, allocations: 0.8292 MB / 418.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003998/0.1029, allocations: 3.711 MB / 421.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.1034, allocations: 237.9 kB / 422.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.1048, allocations: 0.9719 MB / 423.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.1063, allocations: 1.093 MB / 424.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.1066, allocations: 72 kB / 424.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.108, allocations: 443.7 kB / 424.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.1084, allocations: 282.4 kB / 424.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.1098, allocations: 0.9558 MB / 425.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1307/0.2405, allocations: 2.431 MB / 428.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2405, allocations: 3.312 kB / 428.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2405, allocations: 1.125 kB / 428.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-05/0.2406, allocations: 0 / 428.3 MB, free: 18.77 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.009025/0.2496, allocations: 2.89 MB / 431.2 MB, free: 17.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2497, allocations: 9.719 kB / 431.2 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003051/0.25, allocations: 188.2 kB / 431.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.2512, allocations: 286.4 kB / 431.7 MB, free: 17.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.2533, allocations: 1.116 MB / 432.8 MB, free: 17.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.2534, allocations: 105.1 kB / 432.9 MB, free: 17.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.2536, allocations: 144.3 kB / 433.1 MB, free: 17.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.2557, allocations: 1.27 MB / 434.3 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.2557, allocations: 2.656 kB / 434.3 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.2558, allocations: 56.09 kB / 434.4 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.2558, allocations: 30.41 kB / 434.4 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.2579, allocations: 1.291 MB / 435.7 MB, free: 17.09 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.008301/0.2662, allocations: 8.323 MB / 444 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.2682, allocations: 2.088 MB / 446.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.2689, allocations: 0.5222 MB / 446.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/0.269, allocations: 19 kB / 446.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.269, allocations: 44.25 kB / 446.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 2.785e-06/0.269, allocations: 1.125 kB / 446.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.007007/0.276, allocations: 2.712 MB / 449.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.2761, allocations: 66.47 kB / 449.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.2772, allocations: 1.09 MB / 450.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.2773, allocations: 55.86 kB / 450.6 MB, free: 8.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.2776, allocations: 0.6747 MB / 451.3 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.2779, allocations: 0.4997 MB / 451.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.2784, allocations: 363.5 kB / 452.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 2.776e-05/0.2784, allocations: 301.1 kB / 452.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/0.2792, allocations: 0.5496 MB / 453 MB, free: 7.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.2802, allocations: 1.013 MB / 454 MB, free: 6.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.2817, allocations: 1.602 MB / 455.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.2817, allocations: 3.562 kB / 455.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004325/0.2861, allocations: 2.33 MB / 458 MB, free: 4.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.2861, allocations: 9.406 kB / 458 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.2861, allocations: 16.58 kB / 458 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005774/0.2919, allocations: 1.182 MB / 459.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.2934, allocations: 463 kB / 459.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.3048, allocations: 12.51 MB / 472.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.3065, allocations: 174.2 kB / 472.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.3068, allocations: 82.06 kB / 472.4 MB, free: 6.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (233): * Single equations (assignments): 225 * 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.0007269/0.3075, allocations: 364.5 kB / 472.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.308, allocations: 154.1 kB / 472.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.3108, allocations: 1.52 MB / 474.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.3108, allocations: 16 kB / 474.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3109, allocations: 11.92 kB / 474.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3109, allocations: 3.984 kB / 474.4 MB, free: 4.234 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.004924/0.3158, allocations: 3.152 MB / 477.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3158, allocations: 7.984 kB / 477.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.3169, allocations: 242.3 kB / 477.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.3179, allocations: 252.5 kB / 478.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.318, allocations: 24 kB / 478.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/0.3241, allocations: 3.799 MB / 481.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3241, allocations: 4 kB / 481.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.3275, allocations: 2.141 MB / 484 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/0.3282, allocations: 327 kB / 484.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.3284, allocations: 23.98 kB / 484.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.3293, allocations: 51.69 kB / 484.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.3294, allocations: 93.17 kB / 484.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.3295, allocations: 28 kB / 484.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008802/0.3304, allocations: 0.6908 MB / 485.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3304, allocations: 4 kB / 485.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001612/0.332, allocations: 0.5232 MB / 485.8 MB, free: 8.684 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.003881/0.3359, allocations: 2.798 MB / 488.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004546/0.3405, allocations: 2.738 MB / 491.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3405, allocations: 0 / 491.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.3428, allocations: 1.208 MB / 492.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.3441, allocations: 185 kB / 492.7 MB, free: 1.738 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.02223/0.3663, allocations: 13.98 MB / 0.4948 GB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/0.3672, allocations: 1.225 MB / 0.496 GB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008463/0.3681, allocations: 187.5 kB / 0.4962 GB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006967/0.3688, allocations: 0.5501 MB / 0.4967 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3688, allocations: 0 / 0.4967 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05038/0.4192, allocations: 31.94 MB / 0.5279 GB, free: 1.094 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.4194, allocations: 241.1 kB / 0.5281 GB, free: 0.8359 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_StaticGrid.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid_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_StaticGrid.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid.o] Error 1