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.0009178/0.0009177, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005541/0.005541, allocations: 173.1 kB / 16.26 MB, free: 6.676 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.318/1.318, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0558/0.0558, allocations: 14.15 MB / 284.9 MB, free: 7.039 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.0004578/0.0004579, allocations: 12 kB / 349 MB, free: 17.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.08003, allocations: 51.12 MB / 400.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.01006/0.09012, allocations: 11.87 MB / 411.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008318/0.09847, allocations: 5.37 MB / 417.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.09964, allocations: 35.88 kB / 417.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.1011, allocations: 0.5443 MB / 417.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.1064, allocations: 2.099 MB / 420 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1079, allocations: 0.8212 MB / 420.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003845/0.1117, allocations: 3.711 MB / 424.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.1121, allocations: 233.9 kB / 424.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.1134, allocations: 0.968 MB / 425.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1144, allocations: 1.089 MB / 426.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.1146, allocations: 64 kB / 426.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1156, allocations: 443.7 kB / 427.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1158, allocations: 266.4 kB / 427.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000822/0.1167, allocations: 0.9769 MB / 428.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1552/0.2718, allocations: 2.383 MB / 430.9 MB, free: 18.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2719, allocations: 1.062 kB / 430.9 MB, free: 18.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2719, allocations: 0 / 430.9 MB, free: 18.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.2719, allocations: 0 / 430.9 MB, free: 18.57 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.008758/0.2807, allocations: 2.626 MB / 433.5 MB, free: 17.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2808, allocations: 9.906 kB / 433.6 MB, free: 17.64 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003819/0.2812, allocations: 183.7 kB / 433.7 MB, free: 17.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.2823, allocations: 288.1 kB / 434 MB, free: 17.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.2843, allocations: 1.117 MB / 435.1 MB, free: 17.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.2844, allocations: 108.2 kB / 435.2 MB, free: 17.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.2846, allocations: 140.6 kB / 435.4 MB, free: 17.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.2868, allocations: 1.29 MB / 436.7 MB, free: 16.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2868, allocations: 0.6562 kB / 436.7 MB, free: 16.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/0.2869, allocations: 53.12 kB / 436.7 MB, free: 16.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.2869, allocations: 31.09 kB / 436.8 MB, free: 16.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.2891, allocations: 1.314 MB / 438.1 MB, free: 16.9 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.008482/0.2976, allocations: 8.366 MB / 446.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.2998, allocations: 2.118 MB / 448.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.3005, allocations: 0.5291 MB / 449.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.3006, allocations: 24.69 kB / 449.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3007, allocations: 48.47 kB / 449.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 3.307e-06/0.3007, allocations: 1.031 kB / 449.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.007322/0.308, allocations: 2.732 MB / 451.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3081, allocations: 66.44 kB / 451.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.3093, allocations: 1.074 MB / 453 MB, free: 8.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.562e-05/0.3094, allocations: 56.05 kB / 453.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.3097, allocations: 0.6644 MB / 453.7 MB, free: 8.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.31, allocations: 0.5062 MB / 454.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.3102, allocations: 184.7 kB / 454.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.3102, allocations: 301.1 kB / 454.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/0.3111, allocations: 0.5646 MB / 455.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009128/0.312, allocations: 1.017 MB / 456.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.3137, allocations: 1.618 MB / 457.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3137, allocations: 3.562 kB / 457.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.003949/0.3176, allocations: 2.364 MB / 460.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3177, allocations: 14.34 kB / 460.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.3177, allocations: 19.16 kB / 460.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005445/0.3231, allocations: 1.185 MB / 461.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.3247, allocations: 474.7 kB / 462 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.3357, allocations: 12.5 MB / 474.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.3374, allocations: 190.1 kB / 474.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3376, allocations: 79.98 kB / 474.7 MB, free: 6.094 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.0006291/0.3382, allocations: 357.8 kB / 475.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.3384, allocations: 158.1 kB / 475.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.3413, allocations: 1.581 MB / 476.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3413, allocations: 18.95 kB / 476.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3413, allocations: 4 kB / 476.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.3413, allocations: 11.97 kB / 476.9 MB, free: 4 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.004512/0.3459, allocations: 3.228 MB / 480.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3459, allocations: 4 kB / 480.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.347, allocations: 265.4 kB / 480.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.348, allocations: 272.5 kB / 480.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.3481, allocations: 31.98 kB / 480.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00586/0.3539, allocations: 3.821 MB / 484.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3539, allocations: 0 / 484.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.3575, allocations: 2.204 MB / 486.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.358, allocations: 330.9 kB / 487 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.3582, allocations: 28 kB / 487 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.359, allocations: 55.67 kB / 487.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3592, allocations: 97.17 kB / 487.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.3592, allocations: 39.92 kB / 487.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008606/0.3601, allocations: 0.6766 MB / 487.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3601, allocations: 0 / 487.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001588/0.3617, allocations: 0.5349 MB / 488.4 MB, free: 8.223 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.003909/0.3656, allocations: 2.892 MB / 491.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.3702, allocations: 2.771 MB / 494.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3702, allocations: 0 / 494.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.3726, allocations: 1.244 MB / 495.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.3738, allocations: 180.5 kB / 495.5 MB, free: 1.113 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.0215/0.3954, allocations: 14.28 MB / 0.4978 GB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.3961, allocations: 1.219 MB / 0.499 GB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008567/0.397, allocations: 195.5 kB / 0.4992 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.3977, allocations: 0.5612 MB / 0.4998 GB, free: 15.99 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3977, allocations: 0 / 0.4998 GB, free: 15.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/0.45, allocations: 31.9 MB / 0.5309 GB, free: 256 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/0.4502, allocations: 269.9 kB / 0.5312 GB, free: 15.93 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_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:155: ./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