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: translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 103.3 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.001167/0.001167, allocations: 173.3 kB / 15.95 MB, free: 212 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.423/1.423, allocations: 223.2 MB / 239.9 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.1866/0.1866, allocations: 14.22 MB / 305.2 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003291, allocations: 12 kB / 369.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 53.91 MB / 423.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.2168/0.3264, allocations: 7.028 MB / 430.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.3318, allocations: 3.644 MB / 434.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3329, allocations: 20.69 kB / 434.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.3338, allocations: 357.6 kB / 434.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.3371, allocations: 1.502 MB / 436.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009815/0.3381, allocations: 0.5455 MB / 436.6 MB, free: 32.72 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.002557/0.3406, allocations: 1.487 MB / 438.1 MB, free: 31.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.3415, allocations: 0.5103 MB / 438.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009837/0.3425, allocations: 0.6232 MB / 439.3 MB, free: 31.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.3432, allocations: 0.6539 MB / 439.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.3433, allocations: 37.81 kB / 439.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3443, allocations: 368.2 kB / 440.3 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3444, allocations: 143.9 kB / 440.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.3446, allocations: 263.6 kB / 440.7 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3456, allocations: 1.256 MB / 442 MB, free: 30.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.3457, allocations: 0 / 442 MB, free: 30.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3457, allocations: 6.156 kB / 442 MB, free: 30.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3457, allocations: 0 / 442 MB, free: 30.3 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.006224/0.3519, allocations: 1.976 MB / 443.9 MB, free: 29.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.352, allocations: 9.594 kB / 443.9 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.3527, allocations: 192.2 kB / 444.1 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3538, allocations: 0.7676 MB / 444.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.3539, allocations: 66.44 kB / 445 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.354, allocations: 99.94 kB / 445.1 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3552, allocations: 0.9063 MB / 446 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3552, allocations: 7.094 kB / 446 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/0.3553, allocations: 34.5 kB / 446 MB, free: 28.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.3553, allocations: 28.95 kB / 446 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3564, allocations: 0.847 MB / 446.9 MB, free: 27.87 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.004709/0.3611, allocations: 6.137 MB / 453 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.3627, allocations: 1.41 MB / 454.4 MB, free: 21.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.3628, allocations: 14.41 kB / 454.5 MB, free: 21.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3628, allocations: 45.84 kB / 454.5 MB, free: 21.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 2.565e-06/0.3628, allocations: 0 / 454.5 MB, free: 21.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.003964/0.3668, allocations: 1.626 MB / 456.1 MB, free: 20.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3668, allocations: 115.6 kB / 456.2 MB, free: 20.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.3676, allocations: 0.6988 MB / 456.9 MB, free: 20.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.3676, allocations: 48.11 kB / 457 MB, free: 20.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3678, allocations: 481.2 kB / 457.4 MB, free: 20.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.3681, allocations: 349.7 kB / 457.8 MB, free: 19.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.3681, allocations: 30.59 kB / 457.8 MB, free: 19.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3682, allocations: 415.3 kB / 458.2 MB, free: 19.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.3688, allocations: 426.4 kB / 458.6 MB, free: 19.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.3695, allocations: 0.6615 MB / 459.3 MB, free: 18.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.3702, allocations: 0.5313 MB / 459.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3702, allocations: 2.875 kB / 459.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.00247/0.3727, allocations: 1.619 MB / 461.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3727, allocations: 8.938 kB / 461.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3727, allocations: 6 kB / 461.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.3738, allocations: 307.8 kB / 461.8 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.3751, allocations: 365.7 kB / 462.1 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.3789, allocations: 3.084 MB / 465.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.3801, allocations: 113.7 kB / 465.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.3802, allocations: 61.64 kB / 465.4 MB, free: 15.5 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 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.3807, allocations: 284.7 kB / 465.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3808, allocations: 102.1 kB / 465.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.3826, allocations: 0.9735 MB / 466.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3826, allocations: 9.312 kB / 466.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3827, allocations: 2.781 kB / 466.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3827, allocations: 4.781 kB / 466.8 MB, free: 14.77 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.003498/0.3862, allocations: 2.507 MB / 469.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3862, allocations: 5.219 kB / 469.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.3869, allocations: 165.8 kB / 469.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/0.3878, allocations: 289.7 kB / 469.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.3879, allocations: 16.25 kB / 469.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.3916, allocations: 2.996 MB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3916, allocations: 1.562 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.3936, allocations: 1.101 MB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.394, allocations: 245.2 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.3942, allocations: 16.12 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.3947, allocations: 33.73 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3948, allocations: 63.84 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.3949, allocations: 27.81 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007474/0.3956, allocations: 464.1 kB / 474.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3956, allocations: 0 / 474.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001511/0.3972, allocations: 431.2 kB / 475.1 MB, free: 9.867 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 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.3975, allocations: 191.6 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.3998, allocations: 1.316 MB / 476.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3998, allocations: 0 / 476.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4009, allocations: 0.6393 MB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.4015, allocations: 87.91 kB / 477.3 MB, free: 8.777 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.003038/0.4045, allocations: 1.891 MB / 479.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/0.4054, allocations: 1.038 MB / 480.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007128/0.4061, allocations: 144.5 kB / 480.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.4063, allocations: 69.14 kB / 480.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4063, allocations: 0 / 480.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of Templates: time 0.02612/0.4325, allocations: 12.64 MB / 493.1 MB, free: 2.012 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.makefile (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 & ./PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1)