Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, 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.0009166/0.0009168, 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.459/1.459, 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.1944/0.1944, allocations: 14.22 MB / 305.2 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 8 kB / 369.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 53.91 MB / 423.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.2306/0.3601, allocations: 7.319 MB / 430.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.3655, allocations: 3.722 MB / 434.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.3665, allocations: 31.88 kB / 434.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009834/0.3675, allocations: 371.8 kB / 435 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.3719, allocations: 1.657 MB / 436.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.373, allocations: 489.7 kB / 437.1 MB, free: 32.52 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.002991/0.376, allocations: 1.635 MB / 438.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008601/0.3768, allocations: 0.5188 MB / 439.3 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3782, allocations: 0.6892 MB / 440 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.379, allocations: 0.6989 MB / 440.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.3791, allocations: 39.78 kB / 440.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3801, allocations: 360.6 kB / 441 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3803, allocations: 159.5 kB / 441.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.3806, allocations: 275 kB / 441.5 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.382, allocations: 1.317 MB / 442.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.382, allocations: 7.094 kB / 442.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.382, allocations: 0 / 442.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.382, allocations: 0 / 442.8 MB, free: 29.98 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006938/0.389, allocations: 2.06 MB / 444.9 MB, free: 28.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.389, allocations: 9.688 kB / 444.9 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3901, allocations: 208.3 kB / 445.1 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3915, allocations: 0.8004 MB / 445.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3916, allocations: 118.1 kB / 446 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.3917, allocations: 104.8 kB / 446.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3931, allocations: 0.9583 MB / 447 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3931, allocations: 11.11 kB / 447.1 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.3932, allocations: 37.12 kB / 447.1 MB, free: 27.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3932, allocations: 24.78 kB / 447.1 MB, free: 27.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.3945, allocations: 0.9477 MB / 448.1 MB, free: 27.36 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.005201/0.3997, allocations: 6.259 MB / 454.3 MB, free: 22.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.4014, allocations: 1.434 MB / 455.8 MB, free: 21.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.4014, allocations: 18.19 kB / 455.8 MB, free: 21.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007327/0.4022, allocations: 0.7554 MB / 456.5 MB, free: 20.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=108): time 2.615e-06/0.4022, allocations: 0 / 456.5 MB, free: 20.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.004628/0.4068, allocations: 1.93 MB / 458.5 MB, free: 19.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.407, allocations: 388.8 kB / 458.8 MB, free: 19.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.4078, allocations: 0.7025 MB / 459.5 MB, free: 18.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/0.4079, allocations: 47.73 kB / 459.6 MB, free: 18.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.4082, allocations: 490.5 kB / 460.1 MB, free: 18.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.4085, allocations: 384.2 kB / 460.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.4086, allocations: 33.75 kB / 460.5 MB, free: 18.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4087, allocations: 423.6 kB / 460.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.4093, allocations: 457.4 kB / 461.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.4101, allocations: 0.7155 MB / 462.1 MB, free: 17.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.4109, allocations: 0.6152 MB / 462.7 MB, free: 16.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4109, allocations: 3 kB / 462.7 MB, free: 16.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002665/0.4136, allocations: 1.782 MB / 464.5 MB, free: 16.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.4136, allocations: 77.12 kB / 464.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4137, allocations: 8.781 kB / 464.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/0.4146, allocations: 285.8 kB / 464.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.4161, allocations: 369 kB / 465.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.4202, allocations: 3.044 MB / 468.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4217, allocations: 119.7 kB / 468.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.4218, allocations: 62.81 kB / 468.4 MB, free: 13.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.transmissionLine.breakerStatus,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 2 * 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.0006404/0.4225, allocations: 346.5 kB / 468.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.4227, allocations: 107.7 kB / 468.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.4249, allocations: 1.178 MB / 470 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.425, allocations: 15.72 kB / 470 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.425, allocations: 1.562 kB / 470 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.425, allocations: 3.141 kB / 470 MB, free: 12.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.00404/0.429, allocations: 2.816 MB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4291, allocations: 1.094 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.4299, allocations: 180.6 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.431, allocations: 279.4 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.4311, allocations: 21.86 kB / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00446/0.4355, allocations: 2.975 MB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4356, allocations: 1.125 kB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.438, allocations: 1.303 MB / 477.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/0.4386, allocations: 260 kB / 477.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.4387, allocations: 31.42 kB / 477.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.4393, allocations: 29.45 kB / 477.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.4396, allocations: 89.23 kB / 478 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.4396, allocations: 26.66 kB / 478 MB, free: 7.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007979/0.4404, allocations: 466.2 kB / 478.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4405, allocations: 0 / 478.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4423, allocations: 464.8 kB / 478.9 MB, free: 7.59 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: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.000366/0.4427, allocations: 202.5 kB / 479.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.4458, allocations: 1.59 MB / 480.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4458, allocations: 5.781 kB / 480.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.4473, allocations: 0.8585 MB / 481.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.4482, allocations: 95.61 kB / 481.7 MB, free: 6.105 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.003129/0.4513, allocations: 2.037 MB / 483.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.452, allocations: 1.067 MB / 484.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007777/0.4528, allocations: 157.1 kB / 484.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.453, allocations: 71.94 kB / 485 MB, free: 4.051 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.453, allocations: 0 / 485 MB, free: 4.051 MB / 350.1 MB Notification: Performance of Templates: time 0.02501/0.478, allocations: 13.55 MB / 498.6 MB, free: 12.27 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1)