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.001048/0.001048, allocations: 107.3 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.001079/0.001079, allocations: 189 kB / 16.25 MB, free: 6.148 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.466/1.466, allocations: 205.1 MB / 222.1 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06174/0.06174, allocations: 14.15 MB / 283.6 MB, free: 7.086 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.001696/0.001696, allocations: 71.34 kB / 346.8 MB, free: 17.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1177, allocations: 50.12 MB / 396.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifier): time 0.01348/0.1313, allocations: 12.46 MB / 409.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00986/0.1412, allocations: 5.447 MB / 414.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.143, allocations: 35.81 kB / 414.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1446, allocations: 0.5405 MB / 415.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.1501, allocations: 2.113 MB / 417.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.152, allocations: 0.7977 MB / 418.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004797/0.1568, allocations: 3.89 MB / 422.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.1572, allocations: 249.5 kB / 422.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.1588, allocations: 1.116 MB / 423.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.16, allocations: 1.187 MB / 424.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.1601, allocations: 128 kB / 424.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1614, allocations: 0.5466 MB / 425.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.1617, allocations: 334.4 kB / 425.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.1629, allocations: 1.053 MB / 426.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2407/0.4036, allocations: 2.513 MB / 429.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4036, allocations: 0 / 429.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4037, allocations: 0 / 429.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.366e-05/0.4037, allocations: 1.375 kB / 429.3 MB, free: 19.45 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.00943/0.4132, allocations: 2.914 MB / 432.2 MB, free: 18.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.4132, allocations: 9.75 kB / 432.2 MB, free: 18.44 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000228/0.4135, allocations: 186.9 kB / 432.4 MB, free: 18.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.4147, allocations: 286.9 kB / 432.7 MB, free: 18.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.4167, allocations: 1.114 MB / 433.8 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/0.4168, allocations: 106 kB / 433.9 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.417, allocations: 143.3 kB / 434 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.4191, allocations: 1.275 MB / 435.3 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.4191, allocations: 3.062 kB / 435.3 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.4192, allocations: 54.38 kB / 435.4 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.4193, allocations: 36.34 kB / 435.4 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.4213, allocations: 1.297 MB / 436.7 MB, free: 17.7 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.008782/0.4301, allocations: 8.338 MB / 445 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.4326, allocations: 2.108 MB / 447.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.4335, allocations: 0.5257 MB / 447.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.609e-05/0.4336, allocations: 19.09 kB / 447.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4336, allocations: 45.38 kB / 447.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 4.038e-06/0.4336, allocations: 4 kB / 447.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.008248/0.4419, allocations: 2.695 MB / 450.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.4419, allocations: 70.5 kB / 450.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.4437, allocations: 1.073 MB / 451.6 MB, free: 9.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.4439, allocations: 55.55 kB / 451.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.4443, allocations: 0.6631 MB / 452.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004639/0.4448, allocations: 0.5035 MB / 452.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/0.4453, allocations: 369.2 kB / 453.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.4454, allocations: 305.1 kB / 453.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.4463, allocations: 0.5612 MB / 454 MB, free: 7.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.4473, allocations: 1.013 MB / 455 MB, free: 6.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.4492, allocations: 1.613 MB / 456.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.4492, allocations: 7.062 kB / 456.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004866/0.4541, allocations: 2.348 MB / 459 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4541, allocations: 11.61 kB / 459 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.4542, allocations: 15.84 kB / 459 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00609/0.4603, allocations: 1.178 MB / 460.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.4622, allocations: 473.2 kB / 460.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.4754, allocations: 13.49 MB / 474.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.4777, allocations: 178.3 kB / 474.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.4778, allocations: 87.27 kB / 474.4 MB, free: 5.121 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.0009014/0.4788, allocations: 355.5 kB / 474.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.479, allocations: 162 kB / 474.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.482, allocations: 1.553 MB / 476.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.482, allocations: 19.47 kB / 476.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.482, allocations: 4 kB / 476.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.482, allocations: 11.97 kB / 476.5 MB, free: 3.051 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.005107/0.4871, allocations: 3.205 MB / 479.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4872, allocations: 0 / 479.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.4883, allocations: 250.3 kB / 480 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.4894, allocations: 256.3 kB / 480.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.4895, allocations: 27.98 kB / 480.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006491/0.496, allocations: 4.153 MB / 484.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.496, allocations: 0 / 484.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.4999, allocations: 2.189 MB / 486.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/0.5007, allocations: 327 kB / 486.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.5008, allocations: 24 kB / 486.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/0.5016, allocations: 55.81 kB / 487 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.5019, allocations: 97.16 kB / 487.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.5019, allocations: 39.98 kB / 487.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009342/0.5029, allocations: 0.6754 MB / 487.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5029, allocations: 0 / 487.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00177/0.5047, allocations: 0.5388 MB / 488.3 MB, free: 7.023 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.004295/0.509, allocations: 2.856 MB / 491.2 MB, free: 4.184 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.006445/0.5154, allocations: 2.855 MB / 494 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5154, allocations: 3.281 kB / 494 MB, free: 1.285 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.002507/0.5179, allocations: 1.228 MB / 495.3 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5195, allocations: 181.9 kB / 495.4 MB, free: 15.89 MB / 366.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.02448/0.544, allocations: 14.12 MB / 0.4976 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009785/0.545, allocations: 1.223 MB / 0.4988 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.5461, allocations: 195.4 kB / 0.499 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007822/0.5468, allocations: 0.55 MB / 0.4995 GB, free: 14.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5469, allocations: 0 / 0.4995 GB, free: 14.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06927/0.6161, allocations: 33.36 MB / 0.5321 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.6164, allocations: 262.7 kB / 0.5324 GB, free: 13.39 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: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