Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",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.001233/0.001233, allocations: 100.3 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.002082/0.002082, allocations: 177.3 kB / 15.94 MB, free: 228 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.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2481/0.2481, allocations: 14.17 MB / 305.1 MB, free: 1.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003009, allocations: 8 kB / 369.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 53.92 MB / 423.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.202/0.3188, allocations: 6.042 MB / 429.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.3242, allocations: 3.2 MB / 432.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/0.325, allocations: 22.47 kB / 432.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.3259, allocations: 310.4 kB / 433.2 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.3288, allocations: 1.336 MB / 434.5 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.3297, allocations: 486.6 kB / 435 MB, free: 33.87 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 ‘transmissionLine.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 ‘transmissionLine.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001991/0.3317, allocations: 1.215 MB / 436.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.3323, allocations: 452.4 kB / 436.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.3329, allocations: 0.4933 MB / 437.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.3336, allocations: 0.521 MB / 437.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.3337, allocations: 26.66 kB / 437.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009079/0.3346, allocations: 333.9 kB / 438 MB, free: 32.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.3347, allocations: 119.4 kB / 438.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3349, allocations: 215.9 kB / 438.3 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.336, allocations: 1.035 MB / 439.4 MB, free: 31.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.336, allocations: 0 / 439.4 MB, free: 31.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.336, allocations: 7.938 kB / 439.4 MB, free: 31.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.336, allocations: 0 / 439.4 MB, free: 31.87 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005478/0.3415, allocations: 1.685 MB / 441.1 MB, free: 31.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3415, allocations: 10.38 kB / 441.1 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.3417, allocations: 120.9 kB / 441.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.3423, allocations: 145.2 kB / 441.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3433, allocations: 0.6451 MB / 442 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.3433, allocations: 59.72 kB / 442 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.3434, allocations: 76.41 kB / 442.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.3443, allocations: 0.7726 MB / 442.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3444, allocations: 3.031 kB / 442.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.3444, allocations: 34.14 kB / 442.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3445, allocations: 18.09 kB / 442.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.3454, allocations: 0.7135 MB / 443.7 MB, free: 29.67 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.00382/0.3492, allocations: 4.845 MB / 448.5 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.3506, allocations: 0.9956 MB / 449.5 MB, free: 25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.3507, allocations: 20.56 kB / 449.5 MB, free: 25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3507, allocations: 38.38 kB / 449.5 MB, free: 24.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.354e-06/0.3507, allocations: 0 / 449.5 MB, free: 24.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.002562/0.3533, allocations: 1.242 MB / 450.8 MB, free: 24.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3534, allocations: 116.2 kB / 450.9 MB, free: 24.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.3539, allocations: 0.5156 MB / 451.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.3539, allocations: 43.89 kB / 451.5 MB, free: 24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3542, allocations: 373.6 kB / 451.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.3544, allocations: 297.2 kB / 452.1 MB, free: 23.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.3545, allocations: 26.41 kB / 452.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3546, allocations: 385.6 kB / 452.5 MB, free: 23.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.3551, allocations: 339.8 kB / 452.9 MB, free: 22.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.3557, allocations: 449.6 kB / 453.3 MB, free: 22.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.3563, allocations: 418.2 kB / 453.7 MB, free: 22.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.3563, allocations: 0 / 453.7 MB, free: 22.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001857/0.3582, allocations: 1.176 MB / 454.9 MB, free: 21.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3582, allocations: 7.125 kB / 454.9 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3582, allocations: 0 / 454.9 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.3588, allocations: 184.3 kB / 455.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3599, allocations: 289 kB / 455.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.3624, allocations: 2.395 MB / 457.7 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.3632, allocations: 69.28 kB / 457.8 MB, free: 20.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.3633, allocations: 39.14 kB / 457.8 MB, free: 20.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (140): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.3636, allocations: 252.4 kB / 458.1 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3638, allocations: 76.88 kB / 458.2 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.365, allocations: 0.7941 MB / 459 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.365, allocations: 8.906 kB / 459 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.365, allocations: 2.938 kB / 459 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.3651, allocations: 6.281 kB / 459 MB, free: 19.38 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 postOpt removeSimpleEquations (simulation): time 0.002541/0.3676, allocations: 2.004 MB / 461 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3676, allocations: 3.938 kB / 461 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.3683, allocations: 164.2 kB / 461.1 MB, free: 18.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.3688, allocations: 182.4 kB / 461.3 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.3688, allocations: 14.19 kB / 461.3 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.3713, allocations: 2.39 MB / 463.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3713, allocations: 1.188 kB / 463.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3726, allocations: 0.9016 MB / 464.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.3729, allocations: 208.7 kB / 464.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.373, allocations: 15.03 kB / 464.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.3734, allocations: 26 kB / 464.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.3735, allocations: 52.3 kB / 464.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3736, allocations: 19.22 kB / 464.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003822/0.374, allocations: 355.9 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.374, allocations: 0 / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.375, allocations: 338.2 kB / 465.6 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (65): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001712/0.3767, allocations: 1.653 MB / 467.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.3792, allocations: 1.043 MB / 468.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3792, allocations: 0 / 468.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/0.38, allocations: 0.5292 MB / 468.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.3807, allocations: 74.02 kB / 468.9 MB, free: 13.27 MB / 350.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.003261/0.384, allocations: 3.137 MB / 472.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.3845, allocations: 0.967 MB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.3851, allocations: 104.2 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.3854, allocations: 277.9 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3854, allocations: 1.156 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.4231, allocations: 15.35 MB / 488.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.4233, allocations: 213.4 kB / 489 MB, free: 5.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.487, allocations: 0 / 489 MB, free: 5.91 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1)