Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier.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.LoadChange.LoadChangeByModifier,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier",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.0009284/0.0009284, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.0009574/0.0009574, allocations: 200.2 kB / 16.14 MB, free: 6.793 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.144/1.144, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05581/0.05581, allocations: 14.15 MB / 283.5 MB, free: 7.301 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.001237/0.001237, allocations: 67.91 kB / 346.6 MB, free: 17.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06715/0.06839, allocations: 50.13 MB / 396.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.01033/0.07876, allocations: 12.46 MB / 409.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006975/0.08575, allocations: 5.471 MB / 414.6 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007952/0.08656, allocations: 31.88 kB / 414.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.08767, allocations: 0.5366 MB / 415.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.09159, allocations: 2.138 MB / 417.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.09294, allocations: 0.8261 MB / 418.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.09626, allocations: 3.715 MB / 421.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.0966, allocations: 233.9 kB / 422.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.09753, allocations: 0.9719 MB / 423.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.09853, allocations: 1.101 MB / 424.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.09867, allocations: 72 kB / 424.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008855/0.09956, allocations: 455.6 kB / 424.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.09976, allocations: 274.5 kB / 425 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007734/0.1005, allocations: 0.9557 MB / 425.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.131/0.2315, allocations: 2.444 MB / 428.4 MB, free: 18.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2315, allocations: 0 / 428.4 MB, free: 18.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2316, allocations: 0 / 428.4 MB, free: 18.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.586e-05/0.2316, allocations: 1.156 kB / 428.4 MB, free: 18.71 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.007734/0.2394, allocations: 2.898 MB / 431.3 MB, free: 17.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2394, allocations: 9.531 kB / 431.3 MB, free: 17.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.2396, allocations: 189.8 kB / 431.5 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.2406, allocations: 287.1 kB / 431.7 MB, free: 17.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.2421, allocations: 1.104 MB / 432.8 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.2422, allocations: 108.9 kB / 433 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.2424, allocations: 144.3 kB / 433.1 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.2442, allocations: 1.275 MB / 434.4 MB, free: 17.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2442, allocations: 1.812 kB / 434.4 MB, free: 17.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.2443, allocations: 55.03 kB / 434.4 MB, free: 17.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.2443, allocations: 34.38 kB / 434.5 MB, free: 17.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.2462, allocations: 1.298 MB / 435.8 MB, free: 17.04 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.007663/0.2539, allocations: 8.336 MB / 444.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.2559, allocations: 2.104 MB / 446.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/0.2566, allocations: 0.5307 MB / 446.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.2567, allocations: 18.83 kB / 446.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.2567, allocations: 45.66 kB / 446.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 2.855e-06/0.2567, allocations: 0 / 446.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.006828/0.2636, allocations: 2.705 MB / 449.5 MB, free: 9.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2636, allocations: 70.36 kB / 449.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.2646, allocations: 1.073 MB / 450.6 MB, free: 8.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.2647, allocations: 56.02 kB / 450.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.265, allocations: 0.664 MB / 451.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.2652, allocations: 0.5056 MB / 451.9 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.2656, allocations: 372 kB / 452.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.023e-05/0.2657, allocations: 302.3 kB / 452.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.2665, allocations: 0.5623 MB / 453.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.2674, allocations: 1.016 MB / 454.1 MB, free: 6.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.269, allocations: 1.614 MB / 455.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.269, allocations: 3.656 kB / 455.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.003961/0.273, allocations: 2.343 MB / 458.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.273, allocations: 8.906 kB / 458.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.273, allocations: 16.47 kB / 458.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005654/0.2787, allocations: 1.168 MB / 459.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.2802, allocations: 467.5 kB / 459.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.2905, allocations: 12.5 MB / 472.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.2918, allocations: 186.1 kB / 472.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.292, allocations: 80 kB / 472.5 MB, free: 6.164 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 (236): * Single equations (assignments): 228 * 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.000518/0.2925, allocations: 360.5 kB / 472.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.2927, allocations: 154.1 kB / 473 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.2953, allocations: 1.554 MB / 474.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2953, allocations: 19.98 kB / 474.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2954, allocations: 4 kB / 474.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.2954, allocations: 11.97 kB / 474.6 MB, free: 4.094 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.004114/0.2995, allocations: 3.212 MB / 477.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2995, allocations: 0 / 477.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.3005, allocations: 250.8 kB / 478 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009569/0.3015, allocations: 248.5 kB / 478.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.3016, allocations: 24 kB / 478.3 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.3071, allocations: 3.795 MB / 482.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3071, allocations: 0 / 482.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.3104, allocations: 2.179 MB / 484.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.3108, allocations: 331.1 kB / 484.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.311, allocations: 28 kB / 484.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.3117, allocations: 55.67 kB / 484.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.3119, allocations: 93.17 kB / 484.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.3119, allocations: 32 kB / 484.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007593/0.3127, allocations: 0.6844 MB / 485.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3127, allocations: 4 kB / 485.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00136/0.3141, allocations: 0.5309 MB / 486 MB, free: 8.441 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 (111): * Single equations (assignments): 110 * 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.003629/0.3177, allocations: 2.863 MB / 488.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003943/0.3217, allocations: 2.758 MB / 491.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3217, allocations: 0 / 491.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.3238, allocations: 1.229 MB / 492.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.3246, allocations: 190.1 kB / 493 MB, free: 1.387 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.01923/0.3439, allocations: 14.13 MB / 0.4953 GB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.3446, allocations: 1.223 MB / 0.4965 GB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007752/0.3453, allocations: 191.5 kB / 0.4967 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.346, allocations: 0.5579 MB / 0.4972 GB, free: 448 kB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.346, allocations: 0 / 0.4972 GB, free: 448 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.3932, allocations: 32.22 MB / 0.5287 GB, free: 344 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.3934, allocations: 258.7 kB / 0.5289 GB, free: 12 kB / 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_LoadChange_LoadChangeByModifier.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier_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_LoadChange_LoadChangeByModifier.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifier.o] Error 1