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.001236/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0013/0.0013, allocations: 195 kB / 16.25 MB, free: 6.621 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.316/1.316, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06172/0.06172, allocations: 14.15 MB / 283.6 MB, free: 7.266 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.00246/0.00246, allocations: 64.47 kB / 346.8 MB, free: 17.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09865, allocations: 50.13 MB / 396.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters): time 0.0125/0.1112, allocations: 12.46 MB / 409.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009604/0.1209, allocations: 5.436 MB / 414.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.1229, allocations: 35.81 kB / 414.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.1251, allocations: 0.5366 MB / 415.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.132, allocations: 2.126 MB / 417.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1342, allocations: 0.7983 MB / 418.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005767/0.1399, allocations: 3.896 MB / 422.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.1406, allocations: 245.5 kB / 422.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.143, allocations: 1.112 MB / 423.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.1452, allocations: 1.183 MB / 424.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.1458, allocations: 128 kB / 424.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.1478, allocations: 0.5465 MB / 425.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.1483, allocations: 326.5 kB / 425.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.1505, allocations: 1.046 MB / 426.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1857/0.3362, allocations: 2.518 MB / 429.3 MB, free: 19.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.3363, allocations: 4.656 kB / 429.3 MB, free: 19.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3363, allocations: 0.8438 kB / 429.3 MB, free: 19.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.119e-05/0.3363, allocations: 0 / 429.3 MB, free: 19.38 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.01023/0.3466, allocations: 2.903 MB / 432.2 MB, free: 18.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.3467, allocations: 12.03 kB / 432.2 MB, free: 18.38 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/0.3469, allocations: 189.2 kB / 432.4 MB, free: 18.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3484, allocations: 286 kB / 432.7 MB, free: 18.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.3507, allocations: 1.114 MB / 433.8 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.3508, allocations: 108.1 kB / 433.9 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.351, allocations: 143.2 kB / 434 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.3535, allocations: 1.27 MB / 435.3 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.3536, allocations: 4.438 kB / 435.3 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.3537, allocations: 55.25 kB / 435.4 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.3537, allocations: 29.97 kB / 435.4 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.356, allocations: 1.293 MB / 436.7 MB, free: 17.64 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.01102/0.367, allocations: 8.329 MB / 445 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.3694, allocations: 2.091 MB / 447.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/0.3703, allocations: 0.5131 MB / 447.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3704, allocations: 24.59 kB / 447.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3704, allocations: 44.81 kB / 447.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 3.867e-06/0.3704, allocations: 0 / 447.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.00843/0.3789, allocations: 2.715 MB / 450.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.379, allocations: 66.09 kB / 450.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.3812, allocations: 1.098 MB / 451.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.3814, allocations: 52.39 kB / 451.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/0.3821, allocations: 0.6813 MB / 452.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005546/0.3826, allocations: 0.4904 MB / 452.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007246/0.3834, allocations: 363.3 kB / 453.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.3834, allocations: 302.2 kB / 453.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.3845, allocations: 0.5545 MB / 454 MB, free: 7.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3856, allocations: 1.004 MB / 455 MB, free: 6.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.3876, allocations: 1.592 MB / 456.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/0.3876, allocations: 6.5 kB / 456.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.004762/0.3924, allocations: 2.337 MB / 458.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.3924, allocations: 12.31 kB / 458.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.3925, allocations: 14.16 kB / 458.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005968/0.3984, allocations: 1.177 MB / 460.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.4006, allocations: 460 kB / 460.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.4148, allocations: 13.5 MB / 474.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.4173, allocations: 182.2 kB / 474.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.4177, allocations: 83.98 kB / 474.3 MB, free: 5.176 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.00111/0.4188, allocations: 356.9 kB / 474.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/0.4194, allocations: 154.1 kB / 474.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.4228, allocations: 1.526 MB / 476.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4228, allocations: 14.95 kB / 476.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.4229, allocations: 8.875 kB / 476.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.4229, allocations: 11.91 kB / 476.4 MB, free: 3.148 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.00607/0.429, allocations: 3.152 MB / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.429, allocations: 0 / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.4301, allocations: 240.4 kB / 479.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.4312, allocations: 264.3 kB / 480 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-05/0.4313, allocations: 29.75 kB / 480.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/0.438, allocations: 4.152 MB / 484.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/0.438, allocations: 7.938 kB / 484.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.4418, allocations: 2.132 MB / 486.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/0.4426, allocations: 330.9 kB / 486.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.443, allocations: 30.12 kB / 486.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.444, allocations: 39.78 kB / 486.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.4442, allocations: 97.11 kB / 486.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.4442, allocations: 32 kB / 486.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.4453, allocations: 0.6926 MB / 487.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4453, allocations: 4 kB / 487.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001952/0.4473, allocations: 0.5271 MB / 488.1 MB, free: 7.227 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.004394/0.4517, allocations: 2.803 MB / 490.9 MB, free: 4.438 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 initialization part: time 0.006452/0.4582, allocations: 2.835 MB / 493.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4582, allocations: 256 / 493.7 MB, free: 1.566 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 simulation system equations: time 0.002571/0.4608, allocations: 1.204 MB / 494.9 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.4628, allocations: 186.8 kB / 495.1 MB, free: 200 kB / 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.02794/0.4908, allocations: 14.01 MB / 0.4972 GB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.492, allocations: 1.223 MB / 0.4984 GB, free: 124 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009311/0.4929, allocations: 183.6 kB / 0.4986 GB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.4937, allocations: 0.55 MB / 0.4991 GB, free: 15.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4937, allocations: 4 kB / 0.4991 GB, free: 15.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09719/0.5909, allocations: 33.17 MB / 0.5315 GB, free: 14.36 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.5913, allocations: 267.9 kB / 0.5318 GB, free: 14 MB / 414.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