Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_dev_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_dev_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",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.00107/0.001071, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.000853/0.0008531, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2288/0.2288, allocations: 14.18 MB / 305.3 MB, free: 1.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006061/0.0006065, allocations: 12 kB / 372.5 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4022, allocations: 53.91 MB / 426.4 MB, free: 39.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01327/0.4155, allocations: 18.67 MB / 445.1 MB, free: 29.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.4272, allocations: 7.55 MB / 452.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.4309, allocations: 62.72 kB / 452.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.4343, allocations: 0.8081 MB / 453.5 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.4437, allocations: 2.729 MB / 456.2 MB, free: 21.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.4459, allocations: 0.7315 MB / 456.9 MB, free: 21.07 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN1.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN2.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL1.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL2.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN1.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN1.UStartB / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LINE.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LINE.UStartB / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN2.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN2.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.008239/0.4541, allocations: 5.254 MB / 462.2 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.4564, allocations: 1.097 MB / 463.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.4595, allocations: 1.57 MB / 464.9 MB, free: 17.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.4624, allocations: 1.831 MB / 466.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.4629, allocations: 94.66 kB / 466.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.4653, allocations: 0.5427 MB / 467.3 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.4656, allocations: 403.4 kB / 467.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.4668, allocations: 0.6391 MB / 468.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.4708, allocations: 3.22 MB / 471.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4709, allocations: 2.875 kB / 471.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4709, allocations: 0 / 471.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.18e-05/0.471, allocations: 0 / 471.6 MB, free: 14.65 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 633 * Number of variables: 633 Notification: Performance of Generate backend data structure: time 0.01922/0.4902, allocations: 4.83 MB / 476.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4903, allocations: 15.3 kB / 476.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/0.4914, allocations: 340.5 kB / 476.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.4941, allocations: 0.4953 MB / 477.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.4999, allocations: 1.747 MB / 479 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.5002, allocations: 200.9 kB / 479.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006637/0.5009, allocations: 260 kB / 479.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007624/0.5085, allocations: 2.415 MB / 481.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.5086, allocations: 5.938 kB / 481.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.509, allocations: 101.9 kB / 482 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-05/0.5091, allocations: 61.44 kB / 482 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006832/0.5159, allocations: 2.331 MB / 484.4 MB, free: 8.926 MB / 350.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.02916/0.5451, allocations: 15.89 MB / 0.4885 GB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/0.5528, allocations: 3.433 MB / 0.4919 GB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.5551, allocations: 0.8837 MB / 0.4927 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.5553, allocations: 30.23 kB / 0.4928 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.743e-05/0.5554, allocations: 63.44 kB / 0.4928 GB, free: 7.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=237): time 7.254e-06/0.5554, allocations: 0 / 0.4928 GB, free: 7.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=237): time 0.013/0.5685, allocations: 3.539 MB / 0.4963 GB, free: 4.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.5687, allocations: 213.9 kB / 0.4965 GB, free: 3.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/0.5731, allocations: 1.789 MB / 0.4982 GB, free: 2.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004481/0.5735, allocations: 77.7 kB / 0.4983 GB, free: 1.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.5751, allocations: 1.193 MB / 0.4995 GB, free: 0.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001559/0.5767, allocations: 0.8788 MB / 0.5003 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.577, allocations: 96 kB / 0.5004 GB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003966/0.5774, allocations: 492.6 kB / 0.5009 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/0.5809, allocations: 1.224 MB / 0.5021 GB, free: 14.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/0.5851, allocations: 1.964 MB / 0.504 GB, free: 11.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/0.5894, allocations: 1.569 MB / 0.5055 GB, free: 10.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/0.5894, allocations: 4 kB / 0.5055 GB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=624) (initialization): time 0.01253/0.602, allocations: 4.366 MB / 0.5098 GB, free: 5.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.602, allocations: 16 kB / 0.5098 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-05/0.6021, allocations: 16 kB / 0.5098 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.6045, allocations: 0.5265 MB / 0.5104 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/0.6104, allocations: 1.049 MB / 0.5114 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.6232, allocations: 6.935 MB / 0.5182 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006142/0.6294, allocations: 321.1 kB / 0.5185 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007176/0.6302, allocations: 176 kB / 0.5186 GB, free: 12.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (585): * Single equations (assignments): 582 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 10,4 24} Notification: Performance of prepare postOptimizeDAE: time 0.002186/0.6324, allocations: 0.5787 MB / 0.5192 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.6334, allocations: 260.9 kB / 0.5194 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/0.6379, allocations: 2.166 MB / 0.5216 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.638, allocations: 24 kB / 0.5216 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.638, allocations: 0 / 0.5216 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.638, allocations: 11.95 kB / 0.5216 GB, free: 9.258 MB / 398.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.0121/0.6501, allocations: 6.105 MB / 0.5275 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.6502, allocations: 4.109 kB / 0.5276 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.652, allocations: 452.2 kB / 0.528 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/0.6541, allocations: 498.1 kB / 0.5285 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.6543, allocations: 44 kB / 0.5285 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009137/0.6635, allocations: 6.794 MB / 0.5351 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.6635, allocations: 11.94 kB / 0.5351 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.6689, allocations: 2.501 MB / 0.5376 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/0.6709, allocations: 0.5055 MB / 0.5381 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/0.6719, allocations: 59.92 kB / 0.5381 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/0.6742, allocations: 59.84 kB / 0.5382 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/0.6745, allocations: 165.6 kB / 0.5384 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.6747, allocations: 68 kB / 0.5384 GB, free: 7.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002281/0.677, allocations: 1.095 MB / 0.5395 GB, free: 6.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.677, allocations: 0 / 0.5395 GB, free: 6.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005111/0.6821, allocations: 1.129 MB / 0.5406 GB, free: 4.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 simulation (198): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 10,4 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.005439/0.6876, allocations: 3.263 MB / 0.5438 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006805/0.6944, allocations: 3.466 MB / 0.5472 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.6944, allocations: 1.938 kB / 0.5472 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/0.6972, allocations: 1.422 MB / 0.5486 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/0.7006, allocations: 267.5 kB / 0.5488 GB, free: 12.32 MB / 430.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03511/0.7357, allocations: 16.09 MB / 0.5645 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.7373, allocations: 1.574 MB / 0.5661 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002246/0.7396, allocations: 406.1 kB / 0.5664 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/0.7412, allocations: 1.015 MB / 0.5674 GB, free: 8.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.7413, allocations: 0 / 0.5674 GB, free: 8.18 MB / 446.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 0.0, 0.0).