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.0009969/0.0009969, 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.0009541/0.0009543, allocations: 177.3 kB / 15.95 MB, free: 216 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.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.19/0.19, allocations: 14.17 MB / 305.1 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003833, allocations: 12 kB / 369.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 53.92 MB / 423.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.2532/0.3906, allocations: 6.949 MB / 430.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.3969, allocations: 3.62 MB / 434.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.398, allocations: 25.25 kB / 434.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009697/0.399, allocations: 355.8 kB / 434.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.4029, allocations: 1.493 MB / 436 MB, free: 33.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.404, allocations: 0.5453 MB / 436.6 MB, free: 32.94 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.003215/0.4073, allocations: 1.442 MB / 438 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/0.4081, allocations: 0.5169 MB / 438.5 MB, free: 31.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.4093, allocations: 0.5984 MB / 439.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.41, allocations: 0.619 MB / 439.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.4101, allocations: 31.91 kB / 439.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.4112, allocations: 356.3 kB / 440.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.4114, allocations: 141.4 kB / 440.3 MB, free: 31.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.4117, allocations: 251.1 kB / 440.5 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.413, allocations: 1.216 MB / 441.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4131, allocations: 0 / 441.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4131, allocations: 3.422 kB / 441.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4131, allocations: 0 / 441.7 MB, free: 30.6 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.006579/0.4197, allocations: 1.928 MB / 443.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4197, allocations: 17.17 kB / 443.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.42, allocations: 136.9 kB / 443.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.4207, allocations: 164.9 kB / 444 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.422, allocations: 0.7349 MB / 444.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.422, allocations: 72.91 kB / 444.8 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4221, allocations: 89.72 kB / 444.9 MB, free: 28.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.4234, allocations: 0.8664 MB / 445.7 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.4234, allocations: 4.438 kB / 445.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/0.4235, allocations: 41.23 kB / 445.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.4235, allocations: 22.78 kB / 445.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.4247, allocations: 0.7755 MB / 446.6 MB, free: 28.16 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.005446/0.4302, allocations: 6.011 MB / 452.6 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4317, allocations: 1.013 MB / 453.6 MB, free: 22.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.4318, allocations: 10.66 kB / 453.6 MB, free: 22.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4319, allocations: 50.61 kB / 453.7 MB, free: 22.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 3.126e-06/0.4319, allocations: 0 / 453.7 MB, free: 22.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.004496/0.4364, allocations: 1.583 MB / 455.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4364, allocations: 119.6 kB / 455.4 MB, free: 21.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.4372, allocations: 0.6625 MB / 456 MB, free: 21.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.4373, allocations: 41.05 kB / 456.1 MB, free: 21.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.4376, allocations: 459.1 kB / 456.5 MB, free: 20.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.4379, allocations: 322.4 kB / 456.8 MB, free: 20.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.438, allocations: 34.62 kB / 456.9 MB, free: 20.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4381, allocations: 403.3 kB / 457.3 MB, free: 20.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.4387, allocations: 400.8 kB / 457.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.4394, allocations: 0.6281 MB / 458.3 MB, free: 19.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.4402, allocations: 0.4997 MB / 458.8 MB, free: 19.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4402, allocations: 0 / 458.8 MB, free: 19.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002611/0.4428, allocations: 1.533 MB / 460.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.4429, allocations: 8.875 kB / 460.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4429, allocations: 9.062 kB / 460.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.4439, allocations: 305 kB / 460.6 MB, free: 18.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.4452, allocations: 343.5 kB / 461 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/0.4493, allocations: 3.092 MB / 464.1 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4505, allocations: 105.2 kB / 464.2 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.4506, allocations: 57.25 kB / 464.2 MB, free: 16.45 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.0004333/0.4511, allocations: 279.7 kB / 464.5 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.4512, allocations: 92.44 kB / 464.6 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.4529, allocations: 0.9201 MB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.453, allocations: 6.25 kB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.453, allocations: 3 kB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.453, allocations: 3.469 kB / 465.5 MB, free: 15.75 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.003264/0.4563, allocations: 2.213 MB / 467.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4563, allocations: 1.094 kB / 467.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/0.457, allocations: 162.2 kB / 467.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009656/0.4579, allocations: 282.5 kB / 468.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.458, allocations: 16.12 kB / 468.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/0.4619, allocations: 3.004 MB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.462, allocations: 0 / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.4638, allocations: 1.049 MB / 472.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.4641, allocations: 229.5 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4643, allocations: 11.53 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.4648, allocations: 35.72 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4649, allocations: 64.69 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.465, allocations: 19.88 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006137/0.4656, allocations: 436 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4656, allocations: 1.312 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001457/0.4671, allocations: 412.5 kB / 473.4 MB, free: 11.14 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.002134/0.4692, allocations: 1.893 MB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.4718, allocations: 1.245 MB / 476.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4718, allocations: 1.438 kB / 476.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.4731, allocations: 0.6119 MB / 477.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.4739, allocations: 83.66 kB / 477.2 MB, free: 8.879 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.004352/0.4782, allocations: 6.217 MB / 483.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.4789, allocations: 1.019 MB / 484.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006416/0.4795, allocations: 127.1 kB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.4799, allocations: 332.8 kB / 484.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4799, allocations: 0 / 484.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.5208, allocations: 20.12 MB / 0.4932 GB, free: 6.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.521, allocations: 220 kB / 0.4934 GB, free: 6.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.9, allocations: 0 / 0.4934 GB, free: 6.004 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)