Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.001002/0.001002, allocations: 91.84 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.001163/0.001163, 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.61/1.61, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2459/0.2459, allocations: 14.19 MB / 305.3 MB, free: 1.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 369.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 53.92 MB / 423.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.2778/0.4048, allocations: 7.657 MB / 431.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.4121, allocations: 3.666 MB / 435 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.4135, allocations: 25.34 kB / 435.1 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.4147, allocations: 365.4 kB / 435.4 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.4187, allocations: 1.361 MB / 436.8 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.42, allocations: 0.5475 MB / 437.3 MB, free: 32.26 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.003082/0.4231, allocations: 1.925 MB / 439.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.424, allocations: 0.5059 MB / 439.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009189/0.4249, allocations: 0.568 MB / 440.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006616/0.4256, allocations: 0.6452 MB / 441 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.4256, allocations: 32.44 kB / 441 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.4268, allocations: 372.9 kB / 441.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4269, allocations: 139.9 kB / 441.5 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.4272, allocations: 251 kB / 441.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.4284, allocations: 1.238 MB / 443 MB, free: 29.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4284, allocations: 0 / 443 MB, free: 29.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4284, allocations: 0 / 443 MB, free: 29.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.4285, allocations: 0 / 443 MB, free: 29.74 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.006218/0.4347, allocations: 1.927 MB / 444.9 MB, free: 28.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4348, allocations: 9.875 kB / 444.9 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002771/0.435, allocations: 140.7 kB / 445.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/0.4357, allocations: 166.8 kB / 445.2 MB, free: 28.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4369, allocations: 0.7345 MB / 446 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.437, allocations: 72.81 kB / 446 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4371, allocations: 91.78 kB / 446.1 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4384, allocations: 0.875 MB / 447 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4385, allocations: 0 / 447 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.4385, allocations: 45.48 kB / 447 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4385, allocations: 22.12 kB / 447.1 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.4397, allocations: 0.7845 MB / 447.8 MB, free: 27.3 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.005094/0.4448, allocations: 5.908 MB / 453.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4462, allocations: 1.006 MB / 454.8 MB, free: 21.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.4466, allocations: 331 kB / 455.1 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-05/0.4466, allocations: 15.39 kB / 455.1 MB, free: 21.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4467, allocations: 45.91 kB / 455.1 MB, free: 21.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 2.975e-06/0.4467, allocations: 0 / 455.1 MB, free: 21.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.004111/0.4508, allocations: 1.662 MB / 456.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4509, allocations: 125.2 kB / 456.9 MB, free: 20.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.4516, allocations: 0.6573 MB / 457.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.4516, allocations: 41.23 kB / 457.6 MB, free: 20.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.4519, allocations: 460.2 kB / 458.1 MB, free: 20.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.4522, allocations: 330.1 kB / 458.4 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.4522, allocations: 30.31 kB / 458.4 MB, free: 19.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4524, allocations: 404.8 kB / 458.8 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.4529, allocations: 394.2 kB / 459.2 MB, free: 19.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.4536, allocations: 0.6274 MB / 459.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.4544, allocations: 0.5025 MB / 460.3 MB, free: 18.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4544, allocations: 3.062 kB / 460.3 MB, free: 18.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002381/0.4568, allocations: 1.536 MB / 461.9 MB, free: 17.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4568, allocations: 10.03 kB / 461.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4568, allocations: 5.906 kB / 461.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009303/0.4577, allocations: 300.6 kB / 462.2 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4589, allocations: 348.2 kB / 462.5 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.4627, allocations: 2.999 MB / 465.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.4638, allocations: 103.5 kB / 465.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.4639, allocations: 60.89 kB / 465.7 MB, free: 15.61 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 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004566/0.4644, allocations: 277.3 kB / 466 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.4646, allocations: 91.56 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.4662, allocations: 0.9165 MB / 467 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.4662, allocations: 9.219 kB / 467 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.4663, allocations: 0 / 467 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4663, allocations: 13.67 kB / 467 MB, free: 14.9 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.003293/0.4696, allocations: 2.207 MB / 469.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/0.4696, allocations: 5.156 kB / 469.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.4703, allocations: 162.7 kB / 469.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.4713, allocations: 284.6 kB / 469.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.4714, allocations: 16.19 kB / 469.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.4755, allocations: 2.906 MB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4755, allocations: 1.312 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.4776, allocations: 1.016 MB / 473.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.4781, allocations: 228.7 kB / 473.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.4782, allocations: 17.5 kB / 473.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.4787, allocations: 30.44 kB / 473.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4788, allocations: 67.03 kB / 473.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.4789, allocations: 19.66 kB / 473.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006999/0.4796, allocations: 436.7 kB / 474.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4796, allocations: 0 / 474.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001563/0.4812, allocations: 415.6 kB / 474.8 MB, free: 10.38 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 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002411/0.4836, allocations: 1.647 MB / 476.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.4865, allocations: 1.251 MB / 477.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4865, allocations: 0 / 477.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4878, allocations: 0.6168 MB / 478.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/0.4888, allocations: 91.03 kB / 478.4 MB, free: 8.363 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.009791/0.4986, allocations: 5.348 MB / 483.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.4993, allocations: 1.008 MB / 484.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000669/0.5, allocations: 126.2 kB / 484.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.5004, allocations: 333.2 kB / 485.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5004, allocations: 0 / 485.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.5463, allocations: 20.49 MB / 0.4938 GB, free: 5.629 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.5465, allocations: 235.5 kB / 0.494 GB, free: 5.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.781, allocations: 4 kB / 0.494 GB, free: 5.383 MB / 366.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1)