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.0009364/0.0009362, allocations: 99.55 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.001054/0.001054, 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2134/0.2134, allocations: 14.16 MB / 305.1 MB, free: 1.141 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003875, allocations: 8 kB / 369.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 53.93 MB / 423.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.2542/0.3764, allocations: 6.043 MB / 429.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.3821, allocations: 3.204 MB / 432.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008814/0.383, allocations: 19.66 kB / 432.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.3841, allocations: 314.2 kB / 433.2 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.3876, allocations: 1.336 MB / 434.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.3884, allocations: 484.5 kB / 435 MB, free: 34.05 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.002679/0.3911, allocations: 1.212 MB / 436.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009069/0.392, allocations: 456.2 kB / 436.6 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/0.3929, allocations: 497.9 kB / 437.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.3936, allocations: 0.5159 MB / 437.7 MB, free: 32.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.115e-05/0.3936, allocations: 28.56 kB / 437.7 MB, free: 32.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.3946, allocations: 340.1 kB / 438 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.3947, allocations: 122.3 kB / 438.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.3949, allocations: 216.9 kB / 438.3 MB, free: 32.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.3961, allocations: 1.037 MB / 439.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3961, allocations: 0 / 439.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.3961, allocations: 0 / 439.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3962, allocations: 0 / 439.4 MB, free: 32.05 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.006471/0.4026, allocations: 1.685 MB / 441.1 MB, free: 31.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.4027, allocations: 10.31 kB / 441.1 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/0.403, allocations: 126.1 kB / 441.2 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.4036, allocations: 144.2 kB / 441.3 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.4047, allocations: 0.6434 MB / 442 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.4048, allocations: 59.53 kB / 442 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.4049, allocations: 75.81 kB / 442.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4059, allocations: 0.7735 MB / 442.9 MB, free: 30.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4059, allocations: 0 / 442.9 MB, free: 30.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.406, allocations: 34.73 kB / 442.9 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.406, allocations: 19.78 kB / 442.9 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.407, allocations: 0.7182 MB / 443.7 MB, free: 29.84 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.004013/0.411, allocations: 4.844 MB / 448.5 MB, free: 25.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4124, allocations: 0.9944 MB / 449.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.4125, allocations: 10.58 kB / 449.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4125, allocations: 46.62 kB / 449.6 MB, free: 25.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/0.4126, allocations: 3.219 kB / 449.6 MB, free: 25.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.002687/0.4152, allocations: 1.24 MB / 450.8 MB, free: 24.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4153, allocations: 113.4 kB / 450.9 MB, free: 24.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.4158, allocations: 0.5236 MB / 451.4 MB, free: 24.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.4159, allocations: 37.2 kB / 451.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.4161, allocations: 379 kB / 451.8 MB, free: 23.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.4163, allocations: 291.7 kB / 452.1 MB, free: 23.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.4163, allocations: 26.22 kB / 452.1 MB, free: 23.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4165, allocations: 388.6 kB / 452.5 MB, free: 23.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.4171, allocations: 335.8 kB / 452.9 MB, free: 23.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.4178, allocations: 455.8 kB / 453.3 MB, free: 22.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.4184, allocations: 412.2 kB / 453.7 MB, free: 22.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4184, allocations: 0 / 453.7 MB, free: 22.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001689/0.4201, allocations: 1.181 MB / 454.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4201, allocations: 6.594 kB / 454.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4201, allocations: 3.188 kB / 454.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.4207, allocations: 179.3 kB / 455.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4218, allocations: 288.5 kB / 455.3 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.4243, allocations: 2.409 MB / 457.8 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.4251, allocations: 70.81 kB / 457.8 MB, free: 20.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.4251, allocations: 40.72 kB / 457.9 MB, free: 20.18 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.0003492/0.4255, allocations: 255.8 kB / 458.1 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4256, allocations: 78.09 kB / 458.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.4268, allocations: 0.7929 MB / 459 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4269, allocations: 8.688 kB / 459 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4269, allocations: 6.812 kB / 459 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4269, allocations: 5.859 kB / 459 MB, free: 19.54 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.002372/0.4293, allocations: 2.009 MB / 461 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4293, allocations: 3.938 kB / 461 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.4299, allocations: 160.4 kB / 461.2 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.4304, allocations: 169.6 kB / 461.3 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.4304, allocations: 11 kB / 461.4 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.4327, allocations: 2.412 MB / 463.8 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4327, allocations: 4 kB / 463.8 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4339, allocations: 0.9048 MB / 464.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.4341, allocations: 208.8 kB / 464.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.376e-05/0.4342, allocations: 15.09 kB / 464.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.4347, allocations: 25.02 kB / 464.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.4348, allocations: 50.64 kB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.4348, allocations: 21.09 kB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003837/0.4352, allocations: 352.8 kB / 465.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4352, allocations: 3.938 kB / 465.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009892/0.4362, allocations: 340.1 kB / 465.7 MB, free: 15.42 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.001601/0.4378, allocations: 1.65 MB / 467.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.4396, allocations: 1.028 MB / 468.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4396, allocations: 0 / 468.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.4404, allocations: 0.5265 MB / 468.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.4409, allocations: 66.08 kB / 468.9 MB, free: 13.43 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.003348/0.4442, allocations: 3.125 MB / 472.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.4448, allocations: 0.9683 MB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005319/0.4453, allocations: 109.4 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.4457, allocations: 282.9 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4457, allocations: 1.188 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.4885, allocations: 15.37 MB / 488.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.4888, allocations: 211.3 kB / 489 MB, free: 6.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.533, allocations: 1.156 kB / 489 MB, free: 6.066 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)