Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",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.001107/0.001107, allocations: 92.16 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.001292/0.001292, 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2428/0.2428, allocations: 14.19 MB / 305.3 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 15.98 kB / 369.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 53.93 MB / 423.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.2626/0.3995, allocations: 7.959 MB / 431.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005934/0.4054, allocations: 3.738 MB / 435.4 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.4066, allocations: 31.31 kB / 435.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.4076, allocations: 380 kB / 435.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.4114, allocations: 1.513 MB / 437.3 MB, free: 32.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4124, allocations: 492.8 kB / 437.8 MB, free: 31.93 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 ‘loadPQ.UStart / 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.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.002838/0.4153, allocations: 2.106 MB / 439.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.4162, allocations: 0.5226 MB / 440.4 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4174, allocations: 0.6433 MB / 441.1 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009105/0.4183, allocations: 0.6826 MB / 441.8 MB, free: 30 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.4184, allocations: 34.91 kB / 441.8 MB, free: 30 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4196, allocations: 383.6 kB / 442.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.4198, allocations: 148.7 kB / 442.3 MB, free: 29.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.4202, allocations: 266 kB / 442.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.4215, allocations: 1.286 MB / 443.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4216, allocations: 0 / 443.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4216, allocations: 4 kB / 443.9 MB, free: 29.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4216, allocations: 6.969 kB / 443.9 MB, free: 29.28 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.005917/0.4275, allocations: 2.012 MB / 445.9 MB, free: 28.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.4276, allocations: 12.97 kB / 445.9 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.4278, allocations: 142.2 kB / 446 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.4285, allocations: 182.7 kB / 446.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4297, allocations: 0.778 MB / 447 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.4298, allocations: 115.4 kB / 447.1 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.43, allocations: 99.97 kB / 447.2 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4313, allocations: 0.9367 MB / 448.1 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4313, allocations: 7.938 kB / 448.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/0.4314, allocations: 45.91 kB / 448.2 MB, free: 26.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.4314, allocations: 21.31 kB / 448.2 MB, free: 26.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.4328, allocations: 0.8728 MB / 449.1 MB, free: 26.64 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.006142/0.439, allocations: 6.037 MB / 455.1 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.4406, allocations: 1.03 MB / 456.2 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.4412, allocations: 362.6 kB / 456.5 MB, free: 20.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/0.4413, allocations: 10.78 kB / 456.5 MB, free: 20.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.4423, allocations: 0.7399 MB / 457.3 MB, free: 20.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.857e-06/0.4423, allocations: 0 / 457.3 MB, free: 20.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004501/0.4468, allocations: 1.832 MB / 459.1 MB, free: 19.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.447, allocations: 384.5 kB / 459.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.4477, allocations: 0.6616 MB / 460.1 MB, free: 18.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/0.4478, allocations: 47.77 kB / 460.2 MB, free: 18.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.4482, allocations: 483.8 kB / 460.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.4485, allocations: 357 kB / 461 MB, free: 18.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.4486, allocations: 37.53 kB / 461 MB, free: 18.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4487, allocations: 413.7 kB / 461.4 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.4493, allocations: 429.3 kB / 461.9 MB, free: 17.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.4502, allocations: 0.681 MB / 462.5 MB, free: 17.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/0.451, allocations: 0.5748 MB / 463.1 MB, free: 16.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.451, allocations: 7.062 kB / 463.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002787/0.4538, allocations: 1.705 MB / 464.8 MB, free: 16.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.4538, allocations: 69.33 kB / 464.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4539, allocations: 5.969 kB / 464.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009054/0.4548, allocations: 289.9 kB / 465.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.456, allocations: 349.2 kB / 465.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.4601, allocations: 2.978 MB / 468.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.4612, allocations: 103.6 kB / 468.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4613, allocations: 64.59 kB / 468.7 MB, free: 13.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.transmissionLine.breakerStatus,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.4618, allocations: 333 kB / 469 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.462, allocations: 99.66 kB / 469.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.4641, allocations: 1.123 MB / 470.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.4641, allocations: 9.719 kB / 470.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4642, allocations: 4.25 kB / 470.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4642, allocations: 12.22 kB / 470.2 MB, free: 12.82 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.003585/0.4678, allocations: 2.529 MB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4678, allocations: 5.625 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/0.4685, allocations: 160.1 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/0.4694, allocations: 279.2 kB / 473.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.4695, allocations: 25.91 kB / 473.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.4734, allocations: 2.876 MB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4735, allocations: 1.031 kB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.4758, allocations: 1.217 MB / 477.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.4764, allocations: 246.1 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.4765, allocations: 26.98 kB / 477.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.477, allocations: 34.14 kB / 477.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.4772, allocations: 81.59 kB / 477.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.4773, allocations: 27.77 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.4779, allocations: 434.5 kB / 478.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4779, allocations: 0 / 478.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001503/0.4794, allocations: 445.5 kB / 478.6 MB, free: 8.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002695/0.4821, allocations: 1.864 MB / 480.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003033/0.4852, allocations: 1.525 MB / 482 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4852, allocations: 2.875 kB / 482 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.4865, allocations: 0.8349 MB / 482.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4876, allocations: 108.7 kB / 482.9 MB, free: 5.516 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.01172/0.4993, allocations: 5.768 MB / 488.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009546/0.5003, allocations: 1.026 MB / 489.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00093/0.5012, allocations: 145 kB / 489.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/0.5018, allocations: 362 kB / 490.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5018, allocations: 3.938 kB / 490.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/0.5461, allocations: 21.89 MB / 0.5001 GB, free: 14.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.5464, allocations: 252.2 kB / 0.5003 GB, free: 14.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.844, allocations: 4 kB / 0.5003 GB, free: 14.64 MB / 382.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1)