Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.001223/0.001223, 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.001553/0.001553, 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.461/1.461, 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.2123/0.2123, allocations: 14.18 MB / 305.2 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 11.98 kB / 369.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 53.92 MB / 423.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.266/0.4085, allocations: 6.932 MB / 430.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.4145, allocations: 3.633 MB / 434.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.4159, allocations: 25.66 kB / 434.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.4171, allocations: 363.9 kB / 434.5 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.4215, allocations: 1.478 MB / 436 MB, free: 33.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4226, allocations: 0.5579 MB / 436.6 MB, free: 32.99 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 ‘loadPQ.UStart / 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.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.003015/0.4256, allocations: 1.441 MB / 438 MB, free: 32.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009388/0.4266, allocations: 0.505 MB / 438.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.4279, allocations: 0.5994 MB / 439.1 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.4286, allocations: 0.6205 MB / 439.7 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.4287, allocations: 33.22 kB / 439.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4298, allocations: 360.3 kB / 440.1 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.4299, allocations: 141.3 kB / 440.3 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.4302, allocations: 250.2 kB / 440.5 MB, free: 31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.4315, allocations: 1.215 MB / 441.7 MB, free: 30.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4315, allocations: 0 / 441.7 MB, free: 30.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4315, allocations: 3.938 kB / 441.7 MB, free: 30.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4315, allocations: 0 / 441.7 MB, free: 30.65 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.006763/0.4383, allocations: 1.934 MB / 443.7 MB, free: 29.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.4384, allocations: 10.72 kB / 443.7 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.4386, allocations: 138.8 kB / 443.8 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000649/0.4393, allocations: 166.8 kB / 444 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.4406, allocations: 0.7377 MB / 444.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.4406, allocations: 66.5 kB / 444.8 MB, free: 29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4408, allocations: 91.62 kB / 444.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4421, allocations: 0.8607 MB / 445.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.4421, allocations: 10.5 kB / 445.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.4422, allocations: 38.23 kB / 445.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4422, allocations: 21.97 kB / 445.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.4433, allocations: 0.7822 MB / 446.6 MB, free: 28.22 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.0059/0.4492, allocations: 6.007 MB / 452.6 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.4508, allocations: 1.004 MB / 453.6 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.4508, allocations: 7.312 kB / 453.6 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.4509, allocations: 57.2 kB / 453.7 MB, free: 22.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 3.807e-06/0.4509, allocations: 0 / 453.7 MB, free: 22.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.00423/0.4551, allocations: 1.591 MB / 455.2 MB, free: 21.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.4552, allocations: 114.1 kB / 455.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.456, allocations: 0.6621 MB / 456 MB, free: 21.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.4561, allocations: 41.05 kB / 456.1 MB, free: 21.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.4564, allocations: 456.3 kB / 456.5 MB, free: 20.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.4566, allocations: 324.3 kB / 456.8 MB, free: 20.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.4567, allocations: 34.25 kB / 456.9 MB, free: 20.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4569, allocations: 406.1 kB / 457.2 MB, free: 20.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.4574, allocations: 396.6 kB / 457.6 MB, free: 20.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.4582, allocations: 0.6263 MB / 458.3 MB, free: 19.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.459, allocations: 0.5047 MB / 458.8 MB, free: 19.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.459, allocations: 3.938 kB / 458.8 MB, free: 19.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002487/0.4615, allocations: 1.533 MB / 460.3 MB, free: 18.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4616, allocations: 8.969 kB / 460.3 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4616, allocations: 5.875 kB / 460.3 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/0.4626, allocations: 298 kB / 460.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4638, allocations: 344 kB / 460.9 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.4681, allocations: 3.063 MB / 464 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.4693, allocations: 108.9 kB / 464.1 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.4694, allocations: 55.11 kB / 464.2 MB, free: 16.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (175): * Single equations (assignments): 174 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004691/0.4699, allocations: 274.9 kB / 464.4 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.4701, allocations: 97.58 kB / 464.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.4717, allocations: 0.9182 MB / 465.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4717, allocations: 12.25 kB / 465.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4717, allocations: 0 / 465.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4717, allocations: 6.344 kB / 465.5 MB, free: 15.8 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.00312/0.4749, allocations: 2.218 MB / 467.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4749, allocations: 1.188 kB / 467.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.4755, allocations: 160 kB / 467.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009437/0.4765, allocations: 272.2 kB / 468.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.4765, allocations: 16.44 kB / 468.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.4803, allocations: 2.98 MB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4803, allocations: 5.422 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.4825, allocations: 1.052 MB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.483, allocations: 223.8 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.4831, allocations: 19.58 kB / 472.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.4836, allocations: 28.59 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.4837, allocations: 59.59 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.4838, allocations: 22.94 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005756/0.4843, allocations: 433.4 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4843, allocations: 0 / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001443/0.4858, allocations: 421.9 kB / 473.3 MB, free: 11.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/0.488, allocations: 1.899 MB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.4902, allocations: 1.231 MB / 476.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4903, allocations: 4.062 kB / 476.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009325/0.4912, allocations: 0.5739 MB / 477.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.4918, allocations: 83.38 kB / 477.1 MB, free: 8.938 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.00423/0.4961, allocations: 6.216 MB / 483.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.4968, allocations: 1.022 MB / 484.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000644/0.4975, allocations: 125.8 kB / 484.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.4979, allocations: 336.9 kB / 484.8 MB, free: 18.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.4979, allocations: 0 / 484.8 MB, free: 18.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04329/0.5412, allocations: 20.06 MB / 0.493 GB, free: 6.367 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.5414, allocations: 229.3 kB / 0.4933 GB, free: 6.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.838, allocations: 0 / 0.4933 GB, free: 6.121 MB / 366.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1)