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: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",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.001034/0.001034, 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.001061/0.001061, 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2217/0.2217, allocations: 14.17 MB / 305.1 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 8 kB / 369.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 53.92 MB / 423.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.2608/0.3623, allocations: 10.93 MB / 434.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.3703, allocations: 5.017 MB / 439.5 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.3724, allocations: 39.94 kB / 439.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.3742, allocations: 0.5192 MB / 440.1 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.3806, allocations: 2.183 MB / 442.3 MB, free: 28.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3819, allocations: 0.5214 MB / 442.8 MB, free: 28.61 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 ‘loadPQ.UStart / 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 ‘transformer.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 ‘transformer.UStartB / 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 ‘line.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 ‘line.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.004282/0.3862, allocations: 2.421 MB / 445.2 MB, free: 27.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3874, allocations: 0.7099 MB / 445.9 MB, free: 26.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.3895, allocations: 1.003 MB / 446.9 MB, free: 26.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.3911, allocations: 1.02 MB / 448 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.3912, allocations: 55.84 kB / 448 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3927, allocations: 423.6 kB / 448.4 MB, free: 25.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3929, allocations: 235.8 kB / 448.7 MB, free: 25.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.3933, allocations: 406.4 kB / 449.1 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.395, allocations: 1.909 MB / 451 MB, free: 24.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.395, allocations: 0 / 451 MB, free: 24.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.395, allocations: 6.562 kB / 451 MB, free: 24.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.3951, allocations: 0 / 451 MB, free: 24.97 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01052/0.4056, allocations: 3.045 MB / 454 MB, free: 23.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4057, allocations: 14.31 kB / 454 MB, free: 23.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003885/0.4061, allocations: 214.8 kB / 454.2 MB, free: 23.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4071, allocations: 279.3 kB / 454.5 MB, free: 23.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.4092, allocations: 1.102 MB / 455.6 MB, free: 22.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.4093, allocations: 150.6 kB / 455.8 MB, free: 22.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.4095, allocations: 165.4 kB / 455.9 MB, free: 22.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.4116, allocations: 1.454 MB / 457.4 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.4117, allocations: 3.938 kB / 457.4 MB, free: 21.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.4118, allocations: 63.44 kB / 457.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.4118, allocations: 34.72 kB / 457.5 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.4137, allocations: 1.349 MB / 458.8 MB, free: 21.2 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.008344/0.4221, allocations: 9.309 MB / 468.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.4244, allocations: 1.655 MB / 469.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.593e-05/0.4246, allocations: 21.61 kB / 469.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.4256, allocations: 0.757 MB / 470.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=161): time 3.116e-06/0.4256, allocations: 5.156 kB / 470.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=161): time 0.0103/0.4359, allocations: 3.303 MB / 473.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.4361, allocations: 293.8 kB / 474.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.4374, allocations: 0.9627 MB / 475.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.4375, allocations: 57.89 kB / 475.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.438, allocations: 0.6704 MB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/0.4386, allocations: 0.5695 MB / 476.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4387, allocations: 55 kB / 476.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4388, allocations: 405.6 kB / 476.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.44, allocations: 0.6776 MB / 477.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.4414, allocations: 0.9993 MB / 478.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.4427, allocations: 0.8938 MB / 479.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.4427, allocations: 2.969 kB / 479.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.004447/0.4472, allocations: 2.622 MB / 482.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.4472, allocations: 62.97 kB / 482.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4473, allocations: 7.422 kB / 482.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.4489, allocations: 0.5096 MB / 482.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.4512, allocations: 0.5452 MB / 483.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.4584, allocations: 4.604 MB / 487.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.4605, allocations: 168.7 kB / 488 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.4607, allocations: 89.59 kB / 488.1 MB, free: 2.965 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: 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 (291): * Single equations (assignments): 288 * 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.0008021/0.4615, allocations: 419.2 kB / 488.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.4618, allocations: 150.8 kB / 488.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.465, allocations: 1.688 MB / 490.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.465, allocations: 15.78 kB / 490.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.465, allocations: 3 kB / 490.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.4651, allocations: 8.438 kB / 490.3 MB, free: 1.777 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.005781/0.4708, allocations: 3.79 MB / 494.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.4709, allocations: 1.375 kB / 494.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.472, allocations: 282.3 kB / 494.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.4736, allocations: 485.7 kB / 494.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.4737, allocations: 32.08 kB / 494.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006989/0.4807, allocations: 4.476 MB / 499.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4807, allocations: 4 kB / 499.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.4843, allocations: 1.84 MB / 0.4895 GB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/0.4851, allocations: 335.1 kB / 0.4898 GB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.4853, allocations: 28 kB / 0.4898 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.4862, allocations: 55.67 kB / 0.4899 GB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.4864, allocations: 117 kB / 0.49 GB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.4865, allocations: 43.98 kB / 0.49 GB, free: 8.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009275/0.4874, allocations: 0.6106 MB / 0.4906 GB, free: 8.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4874, allocations: 0 / 0.4906 GB, free: 8.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002759/0.4902, allocations: 0.691 MB / 0.4913 GB, free: 7.469 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 (115): * Single equations (assignments): 113 * 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.003943/0.4942, allocations: 2.866 MB / 0.4941 GB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.4981, allocations: 2.231 MB / 0.4963 GB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.4982, allocations: 1.688 kB / 0.4963 GB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.4999, allocations: 1.042 MB / 0.4973 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.5008, allocations: 131 kB / 0.4974 GB, free: 1.07 MB / 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.007579/0.5085, allocations: 8.122 MB / 0.5053 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.5094, allocations: 1.261 MB / 0.5066 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.5105, allocations: 213.6 kB / 0.5068 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/0.5112, allocations: 0.574 MB / 0.5073 GB, free: 6.609 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5112, allocations: 0 / 0.5073 GB, free: 6.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.5685, allocations: 32.81 MB / 0.5394 GB, free: 6.059 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.5688, allocations: 236.9 kB / 0.5396 GB, free: 5.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.221, allocations: 0 / 0.5396 GB, free: 5.809 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1)