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.001201/0.001201, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00144/0.00144, allocations: 177.3 kB / 15.95 MB, free: 216 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.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2378/0.2378, allocations: 14.17 MB / 305.2 MB, free: 1.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.000349, allocations: 8 kB / 372.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 53.9 MB / 426.3 MB, free: 39.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01341/0.3361, allocations: 16.73 MB / 443 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.3499, allocations: 7.519 MB / 450.5 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003614/0.3535, allocations: 63.97 kB / 450.6 MB, free: 25.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.357, allocations: 0.7849 MB / 451.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.367, allocations: 3 MB / 454.4 MB, free: 22.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.3696, allocations: 0.742 MB / 455.1 MB, free: 22.49 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101: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:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN2.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.009138/0.3788, allocations: 3.921 MB / 459 MB, free: 20.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.3811, allocations: 1.087 MB / 460.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.3844, allocations: 1.645 MB / 461.8 MB, free: 18.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/0.388, allocations: 1.767 MB / 463.5 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008104/0.3888, allocations: 96.19 kB / 463.6 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.3925, allocations: 0.5478 MB / 464.2 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.3933, allocations: 400.5 kB / 464.6 MB, free: 17.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.3954, allocations: 0.6391 MB / 465.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.4008, allocations: 3.18 MB / 468.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4008, allocations: 0 / 468.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4008, allocations: 4 kB / 468.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.4009, allocations: 3.938 kB / 468.4 MB, free: 16.57 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.02115/0.4221, allocations: 4.823 MB / 473.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4222, allocations: 10.12 kB / 473.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001365/0.4235, allocations: 338.1 kB / 473.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.4272, allocations: 0.5024 MB / 474.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.4328, allocations: 1.75 MB / 475.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.4331, allocations: 196.8 kB / 476 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009808/0.4341, allocations: 266.5 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006919/0.4411, allocations: 2.386 MB / 478.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/0.4412, allocations: 6.688 kB / 478.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.4414, allocations: 102.7 kB / 478.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.4414, allocations: 61.88 kB / 478.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.4461, allocations: 2.33 MB / 481.1 MB, free: 10.85 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.02199/0.4681, allocations: 16.1 MB / 497.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/0.4739, allocations: 3.422 MB / 0.4889 GB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.4741, allocations: 35.05 kB / 0.489 GB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/0.4742, allocations: 67.12 kB / 0.489 GB, free: 9.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=237): time 5.661e-06/0.4742, allocations: 0 / 0.489 GB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=237): time 0.01036/0.4846, allocations: 3.497 MB / 0.4924 GB, free: 7.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.4847, allocations: 214.3 kB / 0.4926 GB, free: 7.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.4885, allocations: 1.788 MB / 0.4944 GB, free: 5.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004151/0.4889, allocations: 73.7 kB / 0.4945 GB, free: 5.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.4905, allocations: 1.194 MB / 0.4956 GB, free: 4.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.4922, allocations: 0.8749 MB / 0.4965 GB, free: 3.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000859/0.493, allocations: 100 kB / 0.4966 GB, free: 3.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004526/0.4935, allocations: 492.6 kB / 0.497 GB, free: 3.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.4967, allocations: 1.22 MB / 0.4982 GB, free: 1.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/0.5005, allocations: 1.953 MB / 0.5001 GB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/0.5042, allocations: 1.562 MB / 0.5017 GB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-05/0.5042, allocations: 4 kB / 0.5017 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=624) (initialization): time 0.01045/0.5147, allocations: 4.37 MB / 0.5059 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.5148, allocations: 12 kB / 0.506 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/0.5148, allocations: 16.56 kB / 0.506 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.5167, allocations: 0.5275 MB / 0.5065 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/0.5213, allocations: 1.053 MB / 0.5075 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009781/0.5311, allocations: 7.069 MB / 0.5144 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/0.5367, allocations: 321.2 kB / 0.5147 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009208/0.5376, allocations: 172 kB / 0.5149 GB, free: 24 kB / 382.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.002505/0.5402, allocations: 0.5709 MB / 0.5154 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/0.5414, allocations: 268.9 kB / 0.5157 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/0.5463, allocations: 2.158 MB / 0.5178 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.5464, allocations: 24 kB / 0.5178 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.5464, allocations: 4 kB / 0.5178 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/0.5464, allocations: 11.95 kB / 0.5178 GB, free: 12.95 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.01198/0.5584, allocations: 6.113 MB / 0.5238 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/0.5585, allocations: 8 kB / 0.5238 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.5603, allocations: 444.2 kB / 0.5242 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.562, allocations: 498.1 kB / 0.5247 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.5622, allocations: 48 kB / 0.5248 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/0.5716, allocations: 6.932 MB / 0.5315 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/0.5716, allocations: 12.05 kB / 0.5315 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/0.5777, allocations: 3.027 MB / 0.5345 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.5797, allocations: 0.5055 MB / 0.535 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009137/0.5806, allocations: 55.92 kB / 0.5351 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/0.583, allocations: 59.84 kB / 0.5351 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.5833, allocations: 169.6 kB / 0.5353 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.5835, allocations: 67.95 kB / 0.5353 GB, free: 9.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002221/0.5857, allocations: 1.095 MB / 0.5364 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5857, allocations: 0 / 0.5364 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005473/0.5912, allocations: 1.125 MB / 0.5375 GB, free: 7.727 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.006364/0.5976, allocations: 5.671 MB / 0.543 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006996/0.6046, allocations: 3.472 MB / 0.5464 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.6046, allocations: 4.062 kB / 0.5464 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.6069, allocations: 1.425 MB / 0.5478 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.6092, allocations: 219.2 kB / 0.548 GB, free: 12.62 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.02072/0.63, allocations: 18.25 MB / 0.5659 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.6319, allocations: 1.633 MB / 0.5675 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00227/0.6342, allocations: 394.1 kB / 0.5678 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/0.6359, allocations: 1.019 MB / 0.5688 GB, free: 6.586 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6359, allocations: 4 kB / 0.5688 GB, free: 6.582 MB / 446.1 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Modelica.Math.atan3(-0.0, 0.0, 0.0).