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.00134/0.00134, allocations: 90.75 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.001684/0.001684, 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.497/1.497, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2472/0.2472, allocations: 14.18 MB / 305.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 12 kB / 369.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 53.93 MB / 423.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.2724/0.4037, allocations: 7.646 MB / 431.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.4106, allocations: 3.666 MB / 435 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.4116, allocations: 26.91 kB / 435.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.4128, allocations: 370.5 kB / 435.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003539/0.4163, allocations: 1.343 MB / 436.8 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.4174, allocations: 0.5562 MB / 437.3 MB, free: 32.41 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.002151/0.4195, allocations: 1.916 MB / 439.2 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.4203, allocations: 0.5103 MB / 439.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008113/0.4211, allocations: 0.571 MB / 440.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006947/0.4218, allocations: 0.6371 MB / 441 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.4219, allocations: 35.25 kB / 441 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009557/0.4229, allocations: 371.4 kB / 441.4 MB, free: 30.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.423, allocations: 153.2 kB / 441.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.4232, allocations: 249.1 kB / 441.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4244, allocations: 1.222 MB / 443 MB, free: 29.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4244, allocations: 3.938 kB / 443 MB, free: 29.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4244, allocations: 3 kB / 443 MB, free: 29.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4244, allocations: 0 / 443 MB, free: 29.9 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.005852/0.4303, allocations: 1.934 MB / 444.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4303, allocations: 7.219 kB / 444.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.4306, allocations: 141.8 kB / 445.1 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.4312, allocations: 164.4 kB / 445.2 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4323, allocations: 0.7372 MB / 446 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.4323, allocations: 67.66 kB / 446 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.4324, allocations: 93.19 kB / 446.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.4337, allocations: 0.8745 MB / 447 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.4337, allocations: 3.328 kB / 447 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.4338, allocations: 38.52 kB / 447 MB, free: 27.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.4339, allocations: 23.44 kB / 447 MB, free: 27.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.435, allocations: 0.7727 MB / 447.8 MB, free: 27.47 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.005122/0.4402, allocations: 5.931 MB / 453.7 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.4416, allocations: 1.005 MB / 454.8 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.442, allocations: 330.1 kB / 455.1 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/0.4421, allocations: 14.58 kB / 455.1 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4421, allocations: 50.25 kB / 455.1 MB, free: 21.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 3.176e-06/0.4421, allocations: 0 / 455.1 MB, free: 21.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.004129/0.4463, allocations: 1.656 MB / 456.8 MB, free: 21.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4463, allocations: 119.6 kB / 456.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.447, allocations: 0.6546 MB / 457.6 MB, free: 20.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.115e-05/0.4471, allocations: 44.77 kB / 457.6 MB, free: 20.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.4474, allocations: 465.3 kB / 458.1 MB, free: 20.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.4476, allocations: 319.6 kB / 458.4 MB, free: 19.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.4477, allocations: 32.47 kB / 458.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4478, allocations: 402.3 kB / 458.8 MB, free: 19.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.4484, allocations: 401.5 kB / 459.2 MB, free: 19.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006985/0.4491, allocations: 0.6274 MB / 459.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.4498, allocations: 0.5024 MB / 460.3 MB, free: 18.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4498, allocations: 3.281 kB / 460.3 MB, free: 18.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002315/0.4521, allocations: 1.537 MB / 461.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4521, allocations: 8.875 kB / 461.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4521, allocations: 10.75 kB / 461.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009127/0.4531, allocations: 293 kB / 462.2 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4542, allocations: 346.1 kB / 462.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.4579, allocations: 2.984 MB / 465.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4589, allocations: 101.7 kB / 465.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.459, allocations: 54.47 kB / 465.6 MB, free: 15.76 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.0004409/0.4594, allocations: 280.4 kB / 465.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4596, allocations: 93.5 kB / 466 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.4613, allocations: 0.9182 MB / 466.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.4613, allocations: 9.156 kB / 466.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4613, allocations: 5.344 kB / 466.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4613, allocations: 6.234 kB / 466.9 MB, free: 15.05 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.00329/0.4646, allocations: 2.215 MB / 469.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.4647, allocations: 1.188 kB / 469.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.4653, allocations: 157.7 kB / 469.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008799/0.4662, allocations: 269.6 kB / 469.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.4662, allocations: 16.28 kB / 469.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/0.4699, allocations: 2.902 MB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.4699, allocations: 1.922 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.472, allocations: 1.017 MB / 473.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.4725, allocations: 225.7 kB / 473.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.4726, allocations: 17.23 kB / 473.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.4731, allocations: 37.8 kB / 473.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4733, allocations: 58.36 kB / 473.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.4733, allocations: 19.81 kB / 473.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006919/0.474, allocations: 435.8 kB / 474.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.474, allocations: 0 / 474.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001736/0.4758, allocations: 426.5 kB / 474.7 MB, free: 10.52 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.0021/0.4779, allocations: 1.638 MB / 476.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.4802, allocations: 1.236 MB / 477.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4802, allocations: 0 / 477.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009819/0.4812, allocations: 0.5844 MB / 478.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.4819, allocations: 96.3 kB / 478.3 MB, free: 8.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.009174/0.4911, allocations: 5.341 MB / 483.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.4918, allocations: 0.9985 MB / 484.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006245/0.4924, allocations: 130.7 kB / 484.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.4928, allocations: 336.9 kB / 485.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4928, allocations: 0 / 485.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0399/0.5327, allocations: 20.45 MB / 0.4937 GB, free: 5.777 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.533, allocations: 225.6 kB / 0.4939 GB, free: 5.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.854, allocations: 0 / 0.4939 GB, free: 5.535 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)