Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.001036/0.001036, allocations: 91.92 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.001305/0.001305, 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.522/1.522, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.246/0.246, allocations: 14.18 MB / 305.3 MB, free: 1.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8 kB / 369.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 53.94 MB / 423.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.2509/0.3841, allocations: 6.641 MB / 430.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.3887, allocations: 3.245 MB / 433.6 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.3896, allocations: 24.06 kB / 433.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008651/0.3905, allocations: 317.9 kB / 433.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.3933, allocations: 1.236 MB / 435.2 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.3941, allocations: 482.4 kB / 435.7 MB, free: 33.67 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.001827/0.3959, allocations: 1.596 MB / 437.2 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006225/0.3966, allocations: 466.2 kB / 437.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.3971, allocations: 474.5 kB / 438.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.3976, allocations: 0.5305 MB / 438.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.3976, allocations: 28.38 kB / 438.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008059/0.3984, allocations: 353.8 kB / 439.1 MB, free: 32.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.3985, allocations: 122.8 kB / 439.2 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3987, allocations: 221.1 kB / 439.4 MB, free: 31.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.3995, allocations: 1.054 MB / 440.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3995, allocations: 0 / 440.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3995, allocations: 0 / 440.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3995, allocations: 0 / 440.5 MB, free: 31.51 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.004593/0.4041, allocations: 1.682 MB / 442.1 MB, free: 30.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4041, allocations: 13.97 kB / 442.2 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.4043, allocations: 126.6 kB / 442.3 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.4047, allocations: 144.3 kB / 442.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.4055, allocations: 0.6405 MB / 443.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4056, allocations: 64.12 kB / 443.1 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.4056, allocations: 76.41 kB / 443.2 MB, free: 29.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.4067, allocations: 0.7882 MB / 444 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4067, allocations: 0 / 444 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.4068, allocations: 35.05 kB / 444 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.4068, allocations: 22.34 kB / 444 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009442/0.4077, allocations: 0.707 MB / 444.7 MB, free: 29.3 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.003877/0.4116, allocations: 4.845 MB / 449.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.4131, allocations: 0.9874 MB / 450.6 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.4135, allocations: 324.5 kB / 450.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.583e-05/0.4136, allocations: 10.16 kB / 450.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4136, allocations: 46.47 kB / 451 MB, free: 24.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.545e-06/0.4136, allocations: 0 / 451 MB, free: 24.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.002421/0.416, allocations: 1.251 MB / 452.2 MB, free: 23.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.4161, allocations: 109.6 kB / 452.3 MB, free: 23.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.4166, allocations: 0.519 MB / 452.8 MB, free: 23.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.4167, allocations: 41.02 kB / 452.9 MB, free: 23.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.4169, allocations: 370.9 kB / 453.2 MB, free: 23.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.4171, allocations: 297.8 kB / 453.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.4171, allocations: 22.38 kB / 453.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4173, allocations: 390.8 kB / 453.9 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.4177, allocations: 331.5 kB / 454.3 MB, free: 22.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.4182, allocations: 457.4 kB / 454.7 MB, free: 22.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.4188, allocations: 422.4 kB / 455.1 MB, free: 22.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4188, allocations: 0 / 455.1 MB, free: 22.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001589/0.4204, allocations: 1.176 MB / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4204, allocations: 10.34 kB / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4204, allocations: 0 / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.4209, allocations: 180.5 kB / 456.5 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.422, allocations: 293.5 kB / 456.8 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.4242, allocations: 2.353 MB / 459.1 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.4249, allocations: 73.25 kB / 459.2 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.425, allocations: 41.75 kB / 459.2 MB, free: 19.52 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.0003188/0.4253, allocations: 244.9 kB / 459.5 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4255, allocations: 78.09 kB / 459.5 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.4267, allocations: 0.8002 MB / 460.3 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4267, allocations: 6.344 kB / 460.3 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4267, allocations: 2.938 kB / 460.3 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4267, allocations: 9.938 kB / 460.4 MB, free: 18.88 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.002159/0.4289, allocations: 2.006 MB / 462.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4289, allocations: 0 / 462.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.4295, allocations: 170.4 kB / 462.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.4299, allocations: 169.1 kB / 462.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.43, allocations: 14.12 kB / 462.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.4322, allocations: 2.349 MB / 465.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4322, allocations: 0 / 465.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4332, allocations: 0.8731 MB / 465.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.4335, allocations: 208.4 kB / 466.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.4336, allocations: 18.73 kB / 466.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4339, allocations: 31.45 kB / 466.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.434, allocations: 53.48 kB / 466.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.434, allocations: 19.62 kB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.4344, allocations: 359.2 kB / 466.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4344, allocations: 0 / 466.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009135/0.4353, allocations: 329.5 kB / 466.9 MB, free: 14.82 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.001523/0.4368, allocations: 1.505 MB / 468.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.4384, allocations: 1.03 MB / 469.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4385, allocations: 1.188 kB / 469.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.4392, allocations: 0.5207 MB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.4399, allocations: 74.36 kB / 470.1 MB, free: 12.98 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.006665/0.4466, allocations: 4.386 MB / 474.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.447, allocations: 0.9452 MB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000483/0.4475, allocations: 109.2 kB / 475.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.4478, allocations: 282.3 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4478, allocations: 3.938 kB / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.4874, allocations: 15.67 MB / 491.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.4876, allocations: 218.6 kB / 491.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.558, allocations: 0 / 491.7 MB, free: 3.797 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1)