Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.000881/0.000881, 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.001083/0.001083, 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.562/1.562, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2363/0.2363, allocations: 14.18 MB / 305.3 MB, free: 1.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 12 kB / 369.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 53.94 MB / 423.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.2736/0.4038, allocations: 6.65 MB / 430.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0052/0.4091, allocations: 3.237 MB / 433.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/0.4099, allocations: 18.28 kB / 433.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008462/0.4108, allocations: 322.8 kB / 433.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.4134, allocations: 1.239 MB / 435.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.4143, allocations: 476.2 kB / 435.6 MB, free: 33.61 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 ‘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.002017/0.4163, allocations: 1.608 MB / 437.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.417, allocations: 458.2 kB / 437.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006624/0.4177, allocations: 477.1 kB / 438.2 MB, free: 32.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.4182, allocations: 0.5278 MB / 438.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.4183, allocations: 31.66 kB / 438.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008599/0.4191, allocations: 359.3 kB / 439.1 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.4192, allocations: 116.6 kB / 439.2 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4194, allocations: 215.3 kB / 439.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008874/0.4203, allocations: 1.062 MB / 440.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4203, allocations: 0 / 440.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4203, allocations: 0 / 440.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.4203, allocations: 0 / 440.5 MB, free: 31.44 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004862/0.4252, allocations: 1.687 MB / 442.1 MB, free: 30.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4253, allocations: 10.38 kB / 442.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.4254, allocations: 121.9 kB / 442.3 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.4259, allocations: 147.5 kB / 442.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009294/0.4269, allocations: 0.6368 MB / 443.1 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.4269, allocations: 61.5 kB / 443.1 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.427, allocations: 83.27 kB / 443.2 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4281, allocations: 0.7786 MB / 444 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4281, allocations: 0.5 kB / 444 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.4282, allocations: 37.77 kB / 444 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4282, allocations: 19.95 kB / 444 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.4292, allocations: 0.7177 MB / 444.8 MB, free: 29.23 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.004274/0.4334, allocations: 4.837 MB / 449.6 MB, free: 25.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.4351, allocations: 0.985 MB / 450.6 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.4355, allocations: 328.6 kB / 450.9 MB, free: 24.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.4355, allocations: 11.27 kB / 450.9 MB, free: 24.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.4356, allocations: 45.94 kB / 451 MB, free: 24.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.435e-06/0.4356, allocations: 0 / 451 MB, free: 24.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.002601/0.4382, allocations: 1.246 MB / 452.2 MB, free: 23.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4382, allocations: 112.6 kB / 452.3 MB, free: 23.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.4388, allocations: 0.516 MB / 452.8 MB, free: 23.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.4389, allocations: 41.05 kB / 452.9 MB, free: 23.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.4391, allocations: 378.1 kB / 453.2 MB, free: 23.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.4394, allocations: 287.8 kB / 453.5 MB, free: 22.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.4395, allocations: 26.06 kB / 453.5 MB, free: 22.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4396, allocations: 389 kB / 453.9 MB, free: 22.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.4401, allocations: 336.8 kB / 454.2 MB, free: 22.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.4406, allocations: 458.7 kB / 454.7 MB, free: 22.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.4412, allocations: 413.4 kB / 455.1 MB, free: 21.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4412, allocations: 0.75 kB / 455.1 MB, free: 21.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001864/0.4431, allocations: 1.177 MB / 456.3 MB, free: 21.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.4431, allocations: 6.531 kB / 456.3 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4431, allocations: 4.281 kB / 456.3 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/0.4437, allocations: 186 kB / 456.5 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4447, allocations: 296.1 kB / 456.8 MB, free: 21.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.4474, allocations: 2.337 MB / 459.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.4483, allocations: 75.97 kB / 459.2 MB, free: 19.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.4484, allocations: 38.78 kB / 459.2 MB, free: 19.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (140): * Single equations (assignments): 139 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004642/0.4489, allocations: 251.4 kB / 459.5 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4491, allocations: 82.06 kB / 459.5 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.4505, allocations: 0.7922 MB / 460.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.4505, allocations: 8.906 kB / 460.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4505, allocations: 3.031 kB / 460.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4506, allocations: 6.25 kB / 460.3 MB, free: 18.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.002417/0.453, allocations: 2.001 MB / 462.3 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.453, allocations: 6.75 kB / 462.4 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.4536, allocations: 159.9 kB / 462.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.4541, allocations: 175.1 kB / 462.7 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.4541, allocations: 14.81 kB / 462.7 MB, free: 17.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.4564, allocations: 2.333 MB / 465 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4564, allocations: 4.062 kB / 465 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.4577, allocations: 0.8735 MB / 465.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.4579, allocations: 204.7 kB / 466.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.458, allocations: 22.55 kB / 466.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.4584, allocations: 25.81 kB / 466.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.4585, allocations: 56.88 kB / 466.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.4585, allocations: 19.91 kB / 466.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.4589, allocations: 350 kB / 466.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4589, allocations: 0 / 466.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4599, allocations: 331.7 kB / 466.9 MB, free: 14.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (65): * Single equations (assignments): 64 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001652/0.4616, allocations: 1.51 MB / 468.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4633, allocations: 1.032 MB / 469.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4634, allocations: 4.125 kB / 469.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.4641, allocations: 0.5292 MB / 470 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.4647, allocations: 72.95 kB / 470 MB, free: 12.94 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.007149/0.4719, allocations: 4.397 MB / 474.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.4723, allocations: 0.9469 MB / 475.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.4729, allocations: 109.7 kB / 475.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.4732, allocations: 280.2 kB / 475.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4733, allocations: 0 / 475.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/0.5146, allocations: 15.65 MB / 491.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.5148, allocations: 232.5 kB / 491.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.577, allocations: 0 / 491.6 MB, free: 3.906 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1)