Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.001218/0.001218, allocations: 99.86 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.001377/0.001377, 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.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2132/0.2132, allocations: 14.18 MB / 305.1 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003348, allocations: 8 kB / 369.7 MB, free: 6.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 53.93 MB / 423.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.2562/0.3957, allocations: 6.044 MB / 429.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005428/0.4012, allocations: 3.198 MB / 432.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007246/0.402, allocations: 18.56 kB / 432.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.4028, allocations: 316.1 kB / 433.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.4058, allocations: 1.346 MB / 434.5 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.4066, allocations: 482.2 kB / 435 MB, free: 33.92 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.00177/0.4084, allocations: 1.231 MB / 436.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.409, allocations: 455.2 kB / 436.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005972/0.4097, allocations: 0.5048 MB / 437.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.4103, allocations: 0.5238 MB / 437.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.4104, allocations: 26.41 kB / 437.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4115, allocations: 344.9 kB / 438.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4116, allocations: 120.5 kB / 438.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.4118, allocations: 217.2 kB / 438.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.413, allocations: 1.057 MB / 439.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.413, allocations: 0 / 439.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.413, allocations: 2.812 kB / 439.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4131, allocations: 0 / 439.5 MB, free: 31.89 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.005373/0.4184, allocations: 1.691 MB / 441.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4185, allocations: 10.84 kB / 441.2 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.4187, allocations: 121.8 kB / 441.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.4192, allocations: 152.2 kB / 441.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000966/0.4202, allocations: 0.6529 MB / 442.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.4203, allocations: 61.12 kB / 442.1 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.4204, allocations: 81.75 kB / 442.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4214, allocations: 0.7866 MB / 443 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4214, allocations: 7.25 kB / 443 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.4215, allocations: 38.45 kB / 443 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.4215, allocations: 19.72 kB / 443.1 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4225, allocations: 0.7419 MB / 443.8 MB, free: 29.66 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.00409/0.4266, allocations: 4.893 MB / 448.7 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.4282, allocations: 1.21 MB / 449.9 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.4283, allocations: 14.23 kB / 449.9 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4283, allocations: 42.5 kB / 450 MB, free: 24.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.554e-06/0.4283, allocations: 4 kB / 450 MB, free: 24.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.002524/0.4308, allocations: 1.267 MB / 451.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4309, allocations: 113.2 kB / 451.3 MB, free: 24.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.4314, allocations: 0.5186 MB / 451.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.4314, allocations: 41.2 kB / 451.9 MB, free: 23.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4316, allocations: 364.7 kB / 452.3 MB, free: 23.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4318, allocations: 315 kB / 452.6 MB, free: 23.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.4319, allocations: 23.06 kB / 452.6 MB, free: 23.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.432, allocations: 391.4 kB / 453 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.4324, allocations: 345.3 kB / 453.3 MB, free: 22.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.4329, allocations: 461.3 kB / 453.8 MB, free: 22.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.4335, allocations: 423.5 kB / 454.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4335, allocations: 0 / 454.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001735/0.4353, allocations: 1.206 MB / 455.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4353, allocations: 6.375 kB / 455.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4353, allocations: 3.281 kB / 455.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004751/0.4358, allocations: 179.3 kB / 455.6 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4369, allocations: 294.5 kB / 455.9 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.4395, allocations: 2.39 MB / 458.2 MB, free: 19.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/0.4404, allocations: 73.94 kB / 458.3 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.4405, allocations: 45.11 kB / 458.4 MB, free: 19.71 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 (144): * Single equations (assignments): 143 * 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.000465/0.441, allocations: 247 kB / 458.6 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.4412, allocations: 82.69 kB / 458.7 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.4426, allocations: 0.8258 MB / 459.5 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4426, allocations: 9.531 kB / 459.5 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4426, allocations: 3.156 kB / 459.5 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.4427, allocations: 3.328 kB / 459.5 MB, free: 19.06 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.002781/0.4454, allocations: 2.177 MB / 461.7 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4455, allocations: 8 kB / 461.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.4461, allocations: 173 kB / 461.9 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.4466, allocations: 166.5 kB / 462 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.4466, allocations: 24.67 kB / 462.1 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.449, allocations: 2.383 MB / 464.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.449, allocations: 3.938 kB / 464.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.4503, allocations: 0.9374 MB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.4507, allocations: 208.9 kB / 465.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.4509, allocations: 18.19 kB / 465.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.4514, allocations: 26.03 kB / 465.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.4515, allocations: 54.08 kB / 465.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4515, allocations: 22.94 kB / 465.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000419/0.4519, allocations: 350 kB / 466.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.452, allocations: 4 kB / 466.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001227/0.4532, allocations: 340.4 kB / 466.4 MB, free: 14.77 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 (69): * Single equations (assignments): 68 * 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.002085/0.4553, allocations: 1.696 MB / 468.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.4574, allocations: 1.066 MB / 469.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4574, allocations: 1.094 kB / 469.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009266/0.4584, allocations: 0.5433 MB / 469.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.459, allocations: 64.86 kB / 469.8 MB, free: 12.74 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.003911/0.463, allocations: 3.167 MB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.4635, allocations: 0.9672 MB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.4641, allocations: 111.6 kB / 474 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.4645, allocations: 289.5 kB / 474.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4645, allocations: 0.9688 kB / 474.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.509, allocations: 15.58 MB / 489.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.5092, allocations: 218.3 kB / 490.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/2.6, allocations: 3.5 kB / 490.1 MB, free: 5.156 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1)