Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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: translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, 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.001116/0.001116, allocations: 177.3 kB / 15.94 MB, free: 228 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2118/0.2118, allocations: 14.21 MB / 305.2 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 12 kB / 369.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 53.9 MB / 423.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.2469/0.3578, allocations: 7.02 MB / 430.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.3643, allocations: 3.64 MB / 434.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.3657, allocations: 19.34 kB / 434.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.367, allocations: 359.5 kB / 434.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.3711, allocations: 1.508 MB / 436.1 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3722, allocations: 0.5562 MB / 436.6 MB, free: 32.75 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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.00315/0.3753, allocations: 1.48 MB / 438.1 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.3762, allocations: 0.5131 MB / 438.6 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3774, allocations: 0.6205 MB / 439.2 MB, free: 31.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.3782, allocations: 0.6535 MB / 439.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.3783, allocations: 35.97 kB / 439.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.3796, allocations: 367 kB / 440.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3797, allocations: 146.9 kB / 440.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.3801, allocations: 262.6 kB / 440.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3818, allocations: 1.257 MB / 441.9 MB, free: 30.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3818, allocations: 4 kB / 441.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3819, allocations: 0 / 441.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.3819, allocations: 0 / 441.9 MB, free: 30.33 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.007125/0.389, allocations: 1.981 MB / 443.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3891, allocations: 10.44 kB / 443.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.39, allocations: 183.4 kB / 444.1 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.3914, allocations: 0.7769 MB / 444.9 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.3915, allocations: 76.22 kB / 445 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3917, allocations: 94.22 kB / 445.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.3932, allocations: 0.9028 MB / 446 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3933, allocations: 0 / 446 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.3934, allocations: 45.38 kB / 446 MB, free: 28.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.3934, allocations: 27.36 kB / 446 MB, free: 28.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3947, allocations: 0.8459 MB / 446.9 MB, free: 27.89 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.006026/0.4007, allocations: 6.132 MB / 453 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.4024, allocations: 1.411 MB / 454.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.914e-05/0.4025, allocations: 14.23 kB / 454.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4025, allocations: 50.09 kB / 454.5 MB, free: 21.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 3.547e-06/0.4025, allocations: 0 / 454.5 MB, free: 21.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.004137/0.4066, allocations: 1.617 MB / 456.1 MB, free: 20.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.4067, allocations: 115 kB / 456.2 MB, free: 20.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008318/0.4075, allocations: 0.705 MB / 456.9 MB, free: 20.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.4076, allocations: 40.95 kB / 457 MB, free: 20.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.4079, allocations: 482.5 kB / 457.4 MB, free: 20.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.4082, allocations: 345.5 kB / 457.8 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4083, allocations: 34.03 kB / 457.8 MB, free: 19.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4085, allocations: 412.9 kB / 458.2 MB, free: 19.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.4091, allocations: 424.3 kB / 458.6 MB, free: 19.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.4098, allocations: 0.6643 MB / 459.3 MB, free: 18.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.4106, allocations: 0.5277 MB / 459.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4106, allocations: 0 / 459.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.002617/0.4132, allocations: 1.623 MB / 461.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4133, allocations: 6.031 kB / 461.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4133, allocations: 9.906 kB / 461.5 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.4143, allocations: 297.7 kB / 461.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.4156, allocations: 363.9 kB / 462.1 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.4197, allocations: 3.062 MB / 465.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4211, allocations: 117.5 kB / 465.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/0.4212, allocations: 55.69 kB / 465.3 MB, free: 15.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (187): * Single equations (assignments): 186 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005467/0.4218, allocations: 295.5 kB / 465.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.422, allocations: 103.4 kB / 465.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.4238, allocations: 0.9689 MB / 466.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4238, allocations: 9.562 kB / 466.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4238, allocations: 1.188 kB / 466.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4238, allocations: 5.125 kB / 466.7 MB, free: 14.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 postOpt removeSimpleEquations (simulation): time 0.003578/0.4274, allocations: 2.509 MB / 469.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4275, allocations: 1.188 kB / 469.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.4282, allocations: 171.4 kB / 469.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.4294, allocations: 279.6 kB / 469.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.4295, allocations: 16.12 kB / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.4336, allocations: 2.984 MB / 472.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4337, allocations: 2.188 kB / 472.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.4358, allocations: 1.1 MB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.4364, allocations: 236.5 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4365, allocations: 17.06 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.4371, allocations: 31.83 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.4373, allocations: 61.52 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.4373, allocations: 29.38 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008127/0.4381, allocations: 458.6 kB / 474.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4381, allocations: 0 / 474.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001704/0.4399, allocations: 438 kB / 475 MB, free: 9.918 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 (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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003605/0.4402, allocations: 199.6 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.4431, allocations: 1.29 MB / 476.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4431, allocations: 1.25 kB / 476.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4442, allocations: 0.6125 MB / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.4451, allocations: 84.53 kB / 477.2 MB, free: 8.836 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.002999/0.4482, allocations: 1.883 MB / 479.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.4489, allocations: 1.047 MB / 480.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007423/0.4497, allocations: 139 kB / 480.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4499, allocations: 74.38 kB / 480.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4499, allocations: 0 / 480.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of Templates: time 0.02877/0.4787, allocations: 12.58 MB / 492.9 MB, free: 2.203 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1)