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.000852/0.000852, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001049/0.001049, allocations: 172.7 kB / 15.95 MB, free: 208 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.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2463/0.2463, allocations: 14.18 MB / 305.3 MB, free: 1.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 8 kB / 369.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 53.95 MB / 423.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.271/0.4025, allocations: 6.646 MB / 430.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.407, allocations: 3.23 MB / 433.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.4078, allocations: 19.25 kB / 433.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.4086, allocations: 326.9 kB / 433.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.4118, allocations: 1.235 MB / 435.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/0.4128, allocations: 476.8 kB / 435.6 MB, free: 33.56 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 ‘transmissionLine.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 ‘transmissionLine.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002796/0.4156, allocations: 1.604 MB / 437.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.4163, allocations: 458.5 kB / 437.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.4171, allocations: 481.6 kB / 438.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.4178, allocations: 0.5307 MB / 438.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.4178, allocations: 29.47 kB / 438.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.4189, allocations: 361.1 kB / 439.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.381e-05/0.419, allocations: 116.6 kB / 439.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.4193, allocations: 217 kB / 439.4 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.4204, allocations: 1.051 MB / 440.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4204, allocations: 4 kB / 440.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4204, allocations: 0 / 440.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4205, allocations: 0 / 440.5 MB, free: 31.4 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.004978/0.4254, allocations: 1.687 MB / 442.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4255, allocations: 10.38 kB / 442.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/0.4257, allocations: 122 kB / 442.3 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.4263, allocations: 147.1 kB / 442.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.4274, allocations: 0.6443 MB / 443.1 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.4275, allocations: 61.44 kB / 443.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.4276, allocations: 78.03 kB / 443.2 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4288, allocations: 0.7825 MB / 444 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4288, allocations: 0 / 444 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.4289, allocations: 37.83 kB / 444 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.4289, allocations: 17.58 kB / 444 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.43, allocations: 0.7074 MB / 444.7 MB, free: 29.2 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.004326/0.4344, allocations: 4.847 MB / 449.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.4359, allocations: 0.9882 MB / 450.6 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.4363, allocations: 330.6 kB / 450.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.4364, allocations: 6.969 kB / 450.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4364, allocations: 46.69 kB / 451 MB, free: 24.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.365e-06/0.4364, allocations: 0 / 451 MB, free: 24.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.002492/0.4389, allocations: 1.242 MB / 452.2 MB, free: 23.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.439, allocations: 114.1 kB / 452.3 MB, free: 23.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.4395, allocations: 0.5204 MB / 452.8 MB, free: 23.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4395, allocations: 41.08 kB / 452.9 MB, free: 23.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.4397, allocations: 372.6 kB / 453.2 MB, free: 23.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4399, allocations: 296.9 kB / 453.5 MB, free: 22.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.44, allocations: 25.91 kB / 453.5 MB, free: 22.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4401, allocations: 387.3 kB / 453.9 MB, free: 22.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.4405, allocations: 334.6 kB / 454.3 MB, free: 22.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.4411, allocations: 459 kB / 454.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.4416, allocations: 413.6 kB / 455.1 MB, free: 21.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4417, allocations: 7.938 kB / 455.1 MB, free: 21.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001681/0.4433, allocations: 1.173 MB / 456.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4434, allocations: 9.078 kB / 456.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4434, allocations: 0.7656 kB / 456.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.4439, allocations: 184.7 kB / 456.5 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.445, allocations: 288.6 kB / 456.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.4473, allocations: 2.343 MB / 459.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.4482, allocations: 69.56 kB / 459.2 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.4482, allocations: 46.73 kB / 459.2 MB, free: 19.41 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.000416/0.4487, allocations: 249.9 kB / 459.5 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4488, allocations: 74.94 kB / 459.5 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.4502, allocations: 0.7937 MB / 460.3 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4502, allocations: 8.969 kB / 460.3 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4502, allocations: 2.969 kB / 460.3 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4502, allocations: 3.328 kB / 460.3 MB, free: 18.78 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.002358/0.4526, allocations: 2.003 MB / 462.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4526, allocations: 6.969 kB / 462.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.4532, allocations: 164 kB / 462.5 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.4536, allocations: 176.4 kB / 462.7 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.4537, allocations: 15.09 kB / 462.7 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.4559, allocations: 2.33 MB / 465 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.456, allocations: 4.906 kB / 465 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4572, allocations: 0.8771 MB / 465.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.4576, allocations: 206.4 kB / 466.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.4577, allocations: 14.95 kB / 466.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4581, allocations: 32.61 kB / 466.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.4581, allocations: 53.09 kB / 466.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.4582, allocations: 20.5 kB / 466.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004413/0.4586, allocations: 349.5 kB / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.4586, allocations: 0 / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001441/0.4601, allocations: 341.8 kB / 466.9 MB, free: 14.73 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.001804/0.4619, allocations: 1.495 MB / 468.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.4638, allocations: 1.035 MB / 469.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4638, allocations: 0 / 469.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000778/0.4646, allocations: 0.5332 MB / 470 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.4653, allocations: 82.39 kB / 470 MB, free: 12.89 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.008003/0.4733, allocations: 4.392 MB / 474.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008028/0.4742, allocations: 0.9524 MB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006949/0.4749, allocations: 106.7 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.4754, allocations: 283.1 kB / 475.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.534e-06/0.4754, allocations: 0 / 475.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/0.52, allocations: 15.65 MB / 491.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.5201, allocations: 228.2 kB / 491.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.593, allocations: 0 / 491.6 MB, free: 3.836 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)