Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.001202/0.001202, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001689/0.001689, allocations: 168.7 kB / 15.95 MB, free: 204 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.52/1.52, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2413/0.2413, allocations: 14.18 MB / 305.3 MB, free: 1.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003852, allocations: 11.94 kB / 369.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 53.92 MB / 423.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.2171/0.3346, allocations: 6.652 MB / 430.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.339, allocations: 3.237 MB / 433.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.3395, allocations: 23.66 kB / 433.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.3402, allocations: 317 kB / 433.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.3427, allocations: 1.261 MB / 435.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.3435, allocations: 484.7 kB / 435.7 MB, free: 33.29 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.001542/0.3451, allocations: 1.622 MB / 437.3 MB, free: 32.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005903/0.3457, allocations: 459.7 kB / 437.7 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.3461, allocations: 487 kB / 438.2 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.3466, allocations: 0.5384 MB / 438.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.3467, allocations: 29.78 kB / 438.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.3474, allocations: 359.2 kB / 439.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.3475, allocations: 123.7 kB / 439.3 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3477, allocations: 218.4 kB / 439.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009143/0.3486, allocations: 1.071 MB / 440.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3487, allocations: 0 / 440.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3487, allocations: 0 / 440.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3487, allocations: 0 / 440.5 MB, free: 31.11 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004841/0.3535, allocations: 1.692 MB / 442.2 MB, free: 30.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3536, allocations: 9.656 kB / 442.2 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.3537, allocations: 121.4 kB / 442.4 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.3543, allocations: 156.1 kB / 442.5 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.3552, allocations: 0.6497 MB / 443.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3552, allocations: 62.75 kB / 443.2 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.3553, allocations: 80.09 kB / 443.3 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3564, allocations: 0.8011 MB / 444.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3564, allocations: 0 / 444.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.149e-05/0.3565, allocations: 37.8 kB / 444.1 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3565, allocations: 21.22 kB / 444.2 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3576, allocations: 0.7473 MB / 444.9 MB, free: 28.88 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.003958/0.3615, allocations: 4.892 MB / 449.8 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.363, allocations: 1.199 MB / 451 MB, free: 23.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.3634, allocations: 339.7 kB / 451.3 MB, free: 23.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-05/0.3635, allocations: 18.16 kB / 451.4 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3636, allocations: 45.72 kB / 451.4 MB, free: 23.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.354e-06/0.3636, allocations: 0 / 451.4 MB, free: 23.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.002774/0.3663, allocations: 1.278 MB / 452.7 MB, free: 23.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.3664, allocations: 109.7 kB / 452.8 MB, free: 23.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.3671, allocations: 0.5211 MB / 453.3 MB, free: 22.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.3672, allocations: 40.86 kB / 453.3 MB, free: 22.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3673, allocations: 374.5 kB / 453.7 MB, free: 22.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.3676, allocations: 303.4 kB / 454 MB, free: 22.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.3676, allocations: 23.16 kB / 454 MB, free: 22.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.3677, allocations: 392.3 kB / 454.4 MB, free: 21.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.3681, allocations: 343 kB / 454.7 MB, free: 21.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.3686, allocations: 469.5 kB / 455.2 MB, free: 21.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.3692, allocations: 429.6 kB / 455.6 MB, free: 21.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3692, allocations: 7.016 kB / 455.6 MB, free: 21.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001891/0.3711, allocations: 1.195 MB / 456.8 MB, free: 20.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3712, allocations: 9.938 kB / 456.8 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3712, allocations: 2.875 kB / 456.8 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.3718, allocations: 184.6 kB / 457 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3729, allocations: 296.4 kB / 457.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3753, allocations: 2.332 MB / 459.6 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008167/0.3762, allocations: 77.53 kB / 459.7 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.3762, allocations: 41.36 kB / 459.8 MB, free: 18.79 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 (144): * Single equations (assignments): 143 * 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.0003924/0.3766, allocations: 242.8 kB / 460 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3768, allocations: 81.38 kB / 460.1 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.378, allocations: 0.8268 MB / 460.9 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.378, allocations: 6.062 kB / 460.9 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3781, allocations: 5.906 kB / 460.9 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3781, allocations: 3.141 kB / 460.9 MB, free: 18.14 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.002441/0.3805, allocations: 2.179 MB / 463.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3805, allocations: 3.281 kB / 463.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.3811, allocations: 169.5 kB / 463.3 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.3816, allocations: 175.2 kB / 463.4 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.3816, allocations: 18.5 kB / 463.5 MB, free: 16.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3837, allocations: 2.334 MB / 465.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3838, allocations: 3.094 kB / 465.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3849, allocations: 0.9139 MB / 466.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.3852, allocations: 208.2 kB / 466.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.3853, allocations: 15.28 kB / 466.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3857, allocations: 28.78 kB / 466.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.3857, allocations: 52.92 kB / 467 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.3858, allocations: 19.72 kB / 467 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.3861, allocations: 351.3 kB / 467.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3861, allocations: 0 / 467.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3871, allocations: 342 kB / 467.7 MB, free: 13.91 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 (69): * Single equations (assignments): 68 * 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.001498/0.3887, allocations: 1.538 MB / 469.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.3903, allocations: 1.06 MB / 470.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3903, allocations: 1.219 kB / 470.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.391, allocations: 0.5482 MB / 470.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.3915, allocations: 74.98 kB / 470.9 MB, free: 12.04 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.006279/0.3978, allocations: 4.51 MB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3982, allocations: 0.9508 MB / 476.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005172/0.3987, allocations: 107.3 kB / 476.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.3991, allocations: 288.7 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3991, allocations: 0 / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.4291, allocations: 15.87 MB / 492.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.4293, allocations: 236.9 kB / 492.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.49, allocations: 0 / 492.9 MB, free: 2.492 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1)