Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 99.55 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.0009703/0.0009704, 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.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1782/0.1782, allocations: 14.22 MB / 305.2 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 8 kB / 369.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 53.9 MB / 423.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.2189/0.3427, allocations: 11.04 MB / 434.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.3496, allocations: 5.041 MB / 439.6 MB, free: 30.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3509, allocations: 41.59 kB / 439.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.3522, allocations: 0.5135 MB / 440.2 MB, free: 30.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.3576, allocations: 2.208 MB / 442.4 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3588, allocations: 0.5338 MB / 442.9 MB, free: 28.3 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 ‘transformer.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 ‘transformer.UStartB / 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 ‘line.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 ‘line.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003926/0.3627, allocations: 2.487 MB / 445.4 MB, free: 26.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.3637, allocations: 0.7209 MB / 446.1 MB, free: 26.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.365, allocations: 1.035 MB / 447.2 MB, free: 26.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.3661, allocations: 1.076 MB / 448.2 MB, free: 25.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3663, allocations: 63 kB / 448.3 MB, free: 25.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.3676, allocations: 427.6 kB / 448.7 MB, free: 25.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3678, allocations: 256.8 kB / 449 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.3682, allocations: 409.7 kB / 449.4 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.37, allocations: 1.99 MB / 451.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.37, allocations: 0 / 451.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.37, allocations: 0 / 451.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.37, allocations: 0 / 451.4 MB, free: 24.53 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: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.01039/0.3804, allocations: 3.119 MB / 454.5 MB, free: 23.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3805, allocations: 9.906 kB / 454.5 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3819, allocations: 312.1 kB / 454.8 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.3839, allocations: 1.152 MB / 455.9 MB, free: 22.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.384, allocations: 152.7 kB / 456.1 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.3842, allocations: 167.5 kB / 456.3 MB, free: 22.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3862, allocations: 1.512 MB / 457.8 MB, free: 21.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3862, allocations: 8.344 kB / 457.8 MB, free: 21.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.3863, allocations: 61.41 kB / 457.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.3863, allocations: 39.72 kB / 457.9 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3884, allocations: 1.474 MB / 459.3 MB, free: 20.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 preOpt removeSimpleEquations (simulation): time 0.008438/0.3968, allocations: 9.536 MB / 468.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.3996, allocations: 2.461 MB / 471.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.3997, allocations: 24.95 kB / 471.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.4009, allocations: 0.8117 MB / 472.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=174): time 4.027e-06/0.4009, allocations: 0 / 472.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=174): time 0.009789/0.4107, allocations: 3.424 MB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.4108, allocations: 287.4 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4121, allocations: 1.034 MB / 476.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.4123, allocations: 58.05 kB / 477 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.4127, allocations: 0.6922 MB / 477.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.4132, allocations: 0.6261 MB / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4134, allocations: 60 kB / 478.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4135, allocations: 408.5 kB / 478.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4146, allocations: 0.7297 MB / 479.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.416, allocations: 1.065 MB / 480.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.4173, allocations: 0.9554 MB / 481.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.4173, allocations: 1.281 kB / 481.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.004629/0.422, allocations: 2.77 MB / 484.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.422, allocations: 62.95 kB / 484.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.4221, allocations: 7.625 kB / 484.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.4238, allocations: 0.5084 MB / 484.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/0.4263, allocations: 0.5839 MB / 485.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007372/0.4337, allocations: 4.61 MB / 490 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.4361, allocations: 177 kB / 490.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.4363, allocations: 100 kB / 490.3 MB, free: 1.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$whenCondition1,$whenCondition2,$PRE.transformer.breakerStatus,transformer.breakerStatus,$PRE.transformer.breakerStatusInInternal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * 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 {8 37} Notification: Performance of prepare postOptimizeDAE: time 0.0007168/0.437, allocations: 424.5 kB / 490.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.4373, allocations: 164.2 kB / 490.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.4406, allocations: 1.798 MB / 492.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.4406, allocations: 26.06 kB / 492.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4406, allocations: 5.312 kB / 492.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.4407, allocations: 8.594 kB / 492.7 MB, free: 8 kB / 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.006247/0.4469, allocations: 4.308 MB / 497 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4469, allocations: 1.375 kB / 497 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.4482, allocations: 302.3 kB / 497.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.4497, allocations: 480.5 kB / 497.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.749e-05/0.4498, allocations: 32 kB / 497.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0066/0.4564, allocations: 4.459 MB / 0.4905 GB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4565, allocations: 4.875 kB / 0.4905 GB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.4599, allocations: 1.962 MB / 0.4924 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/0.4607, allocations: 366.8 kB / 0.4928 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.4609, allocations: 35.98 kB / 0.4928 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/0.4617, allocations: 47.84 kB / 0.4929 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.462, allocations: 129.8 kB / 0.493 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.209e-05/0.462, allocations: 36 kB / 0.493 GB, free: 5.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008791/0.4629, allocations: 0.6556 MB / 0.4937 GB, free: 4.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4629, allocations: 0 / 0.4937 GB, free: 4.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001887/0.4648, allocations: 0.73 MB / 0.4944 GB, free: 4.074 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * 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 {6 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.4652, allocations: 236.7 kB / 0.4946 GB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.4691, allocations: 2.367 MB / 0.4969 GB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4692, allocations: 0 / 0.4969 GB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.4709, allocations: 1.098 MB / 0.498 GB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009034/0.4718, allocations: 133.8 kB / 0.4981 GB, free: 180 kB / 366.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.004346/0.4762, allocations: 3.168 MB / 0.5012 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.477, allocations: 1.297 MB / 0.5025 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001096/0.4781, allocations: 234.4 kB / 0.5027 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.4784, allocations: 111.4 kB / 0.5028 GB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4784, allocations: 0 / 0.5028 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.03437/0.5128, allocations: 21.07 MB / 0.5234 GB, free: 6.316 MB / 398.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1)