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.00107/0.00107, allocations: 100.1 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.001319/0.001319, 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.522/1.522, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1968/0.1968, allocations: 14.17 MB / 305.2 MB, free: 1.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 12 kB / 369.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1098, allocations: 53.92 MB / 423.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.2324/0.3423, allocations: 6.038 MB / 429.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.347, allocations: 3.208 MB / 432.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.3477, allocations: 19.72 kB / 432.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.3486, allocations: 314.4 kB / 433.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3515, allocations: 1.34 MB / 434.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.3523, allocations: 490 kB / 435 MB, free: 34.02 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 ‘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.002015/0.3543, allocations: 1.201 MB / 436.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.355, allocations: 455.8 kB / 436.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.3556, allocations: 0.4957 MB / 437.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.3561, allocations: 0.5102 MB / 437.7 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.3562, allocations: 27.81 kB / 437.7 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.357, allocations: 343.6 kB / 438 MB, free: 32.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.3571, allocations: 124.2 kB / 438.1 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3572, allocations: 213.9 kB / 438.3 MB, free: 32.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.3581, allocations: 1.035 MB / 439.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.3581, allocations: 0 / 439.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3581, allocations: 0 / 439.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3581, allocations: 0 / 439.4 MB, free: 32.02 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.005292/0.3634, allocations: 1.684 MB / 441.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3635, allocations: 10.06 kB / 441.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.3636, allocations: 118.4 kB / 441.2 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005624/0.3642, allocations: 155.4 kB / 441.3 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.3652, allocations: 0.6426 MB / 442 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.3652, allocations: 56.88 kB / 442 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/0.3653, allocations: 81.44 kB / 442.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.3663, allocations: 0.7744 MB / 442.9 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3663, allocations: 3.984 kB / 442.9 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.3664, allocations: 34.42 kB / 442.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3664, allocations: 21.66 kB / 443 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.3674, allocations: 0.709 MB / 443.7 MB, free: 29.81 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.004161/0.3715, allocations: 4.843 MB / 448.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3731, allocations: 0.9882 MB / 449.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.3732, allocations: 14.14 kB / 449.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3732, allocations: 50.11 kB / 449.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.025e-06/0.3732, allocations: 0 / 449.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.002682/0.3759, allocations: 1.238 MB / 450.8 MB, free: 24.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.376, allocations: 112.9 kB / 450.9 MB, free: 24.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.3765, allocations: 0.5188 MB / 451.4 MB, free: 24.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3766, allocations: 45.08 kB / 451.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.3768, allocations: 378.6 kB / 451.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.377, allocations: 289.6 kB / 452.1 MB, free: 23.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.3771, allocations: 23.25 kB / 452.1 MB, free: 23.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3772, allocations: 393.2 kB / 452.5 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.3777, allocations: 330.8 kB / 452.8 MB, free: 23.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.3783, allocations: 462.5 kB / 453.3 MB, free: 22.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.3789, allocations: 408.4 kB / 453.7 MB, free: 22.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3789, allocations: 3.25 kB / 453.7 MB, free: 22.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001759/0.3807, allocations: 1.177 MB / 454.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.3807, allocations: 7.469 kB / 454.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3808, allocations: 3.438 kB / 454.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.3813, allocations: 181 kB / 455.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3825, allocations: 285.9 kB / 455.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.3853, allocations: 2.39 MB / 457.7 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.3862, allocations: 75.94 kB / 457.8 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.3863, allocations: 41.17 kB / 457.9 MB, free: 20.16 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.0004021/0.3867, allocations: 254.3 kB / 458.1 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3869, allocations: 76.91 kB / 458.2 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3882, allocations: 0.7886 MB / 459 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3882, allocations: 8.906 kB / 459 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3882, allocations: 3.094 kB / 459 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3882, allocations: 17.53 kB / 459 MB, free: 19.52 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.002625/0.3909, allocations: 2.006 MB / 461 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3909, allocations: 7.875 kB / 461 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.3915, allocations: 164.7 kB / 461.2 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.392, allocations: 169.7 kB / 461.3 MB, free: 18.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.392, allocations: 18.84 kB / 461.3 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.3947, allocations: 2.391 MB / 463.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3947, allocations: 4 kB / 463.7 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.3962, allocations: 0.9064 MB / 464.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.3966, allocations: 206.8 kB / 464.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.3967, allocations: 11.12 kB / 464.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.3971, allocations: 25.53 kB / 464.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3972, allocations: 49.16 kB / 464.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.3973, allocations: 21.81 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004495/0.3977, allocations: 349.3 kB / 465.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3977, allocations: 0 / 465.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3988, allocations: 343.8 kB / 465.6 MB, free: 15.41 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.001676/0.4005, allocations: 1.639 MB / 467.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.4028, allocations: 1.049 MB / 468.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4028, allocations: 0 / 468.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000841/0.4036, allocations: 0.5252 MB / 468.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.4043, allocations: 73.17 kB / 468.9 MB, free: 13.41 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.003548/0.4078, allocations: 3.141 MB / 472.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.4083, allocations: 0.9651 MB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005398/0.4089, allocations: 107.8 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.4093, allocations: 281.7 kB / 473.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4093, allocations: 0 / 473.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/0.4491, allocations: 15.35 MB / 488.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.4493, allocations: 212.1 kB / 489 MB, free: 5.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.587, allocations: 1.094 kB / 489 MB, free: 5.996 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)