Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 219.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0722/0.0722, allocations: 14.39 MB / 300.5 MB, free: 7.531 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 72.28 kB / 421.4 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.08108, allocations: 52.89 MB / 474.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.01369/0.09476, allocations: 11.8 MB / 486.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008792/0.1036, allocations: 5.009 MB / 491.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.1052, allocations: 39.75 kB / 491.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.1072, allocations: 0.6447 MB / 491.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006295/0.1135, allocations: 2.426 MB / 494.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1148, allocations: 0.5604 MB / 494.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004496/0.1193, allocations: 3.338 MB / 498.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.1197, allocations: 145.4 kB / 498.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.1215, allocations: 1.152 MB / 499.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.1235, allocations: 1.124 MB / 0.4888 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003362/0.1238, allocations: 108 kB / 0.4889 GB, free: 7.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1253, allocations: 0.5192 MB / 0.4894 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.1257, allocations: 286.6 kB / 0.4897 GB, free: 7.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.127, allocations: 0.9679 MB / 0.4907 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.1306, allocations: 2.499 MB / 0.4931 GB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1306, allocations: 4 kB / 0.4931 GB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1306, allocations: 0 / 0.4931 GB, free: 3.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.164e-05/0.1307, allocations: 0 / 0.4931 GB, free: 3.566 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.01013/0.1408, allocations: 2.795 MB / 0.4958 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1409, allocations: 12.03 kB / 0.4958 GB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.213e-05/0.1409, allocations: 34.8 kB / 0.4959 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.1412, allocations: 190.6 kB / 0.4961 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.1424, allocations: 279.7 kB / 0.4963 GB, free: 208 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.1447, allocations: 1.011 MB / 0.4973 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.1449, allocations: 158 kB / 0.4975 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.1451, allocations: 124 kB / 0.4976 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.1475, allocations: 1.351 MB / 0.4989 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.1475, allocations: 7.938 kB / 0.4989 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.1476, allocations: 56 kB / 0.499 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.1477, allocations: 32 kB / 0.499 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.15, allocations: 1.247 MB / 0.5002 GB, free: 12.08 MB / 382.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.01313/0.1631, allocations: 9.241 MB / 0.5092 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.1659, allocations: 1.281 MB / 0.5105 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008947/0.1668, allocations: 499.2 kB / 0.511 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.832e-05/0.1668, allocations: 17.3 kB / 0.511 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.168, allocations: 0.6361 MB / 0.5116 GB, free: 15.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.256e-06/0.168, allocations: 0 / 0.5116 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.01057/0.1785, allocations: 3.058 MB / 0.5146 GB, free: 12.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.1787, allocations: 145.8 kB / 0.5147 GB, free: 12.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.1805, allocations: 0.8832 MB / 0.5156 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.1807, allocations: 49.7 kB / 0.5156 GB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.1813, allocations: 0.5794 MB / 0.5162 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007563/0.182, allocations: 0.5305 MB / 0.5167 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/0.1825, allocations: 239.5 kB / 0.5169 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1827, allocations: 305.1 kB / 0.5172 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/0.1836, allocations: 411.8 kB / 0.5176 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.1846, allocations: 0.6147 MB / 0.5182 GB, free: 8.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.1865, allocations: 1.182 MB / 0.5194 GB, free: 7.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1865, allocations: 4 kB / 0.5194 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004056/0.1906, allocations: 1.743 MB / 0.5211 GB, free: 5.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/0.1907, allocations: 63.41 kB / 0.5211 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.1907, allocations: 8.031 kB / 0.5212 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.1925, allocations: 0.4929 MB / 0.5216 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.1938, allocations: 315.6 kB / 0.5219 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.198/0.3918, allocations: 4.709 MB / 0.5265 GB, free: 58.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3934, allocations: 94.88 kB / 0.5266 GB, free: 58.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.3936, allocations: 51.47 kB / 0.5267 GB, free: 58.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$PRE.transformer.breakerStatusInInternal,transformer.breakerStatus,$PRE.transformer.breakerStatus,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0006088/0.3942, allocations: 344.2 kB / 0.527 GB, free: 58.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.3946, allocations: 140.9 kB / 0.5271 GB, free: 58.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.3981, allocations: 1.626 MB / 0.5287 GB, free: 58.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.3981, allocations: 15.38 kB / 0.5287 GB, free: 58.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3981, allocations: 0 / 0.5287 GB, free: 58.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.3981, allocations: 6.844 kB / 0.5287 GB, free: 58.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006057/0.4042, allocations: 3.263 MB / 0.5319 GB, free: 57.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4042, allocations: 0.6562 kB / 0.5319 GB, free: 57.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4053, allocations: 257.8 kB / 0.5322 GB, free: 57.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.4068, allocations: 485.6 kB / 0.5326 GB, free: 57.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/0.4069, allocations: 26.41 kB / 0.5327 GB, free: 57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006901/0.4138, allocations: 4.565 MB / 0.5371 GB, free: 54.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4138, allocations: 0.7969 kB / 0.5371 GB, free: 54.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.4173, allocations: 1.675 MB / 0.5388 GB, free: 53.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/0.4181, allocations: 271.2 kB / 0.539 GB, free: 53.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.4183, allocations: 29.94 kB / 0.5391 GB, free: 53.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.4194, allocations: 51.67 kB / 0.5391 GB, free: 53.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.4197, allocations: 108.6 kB / 0.5392 GB, free: 53.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.4198, allocations: 34.47 kB / 0.5392 GB, free: 53.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.4209, allocations: 0.6042 MB / 0.5398 GB, free: 52.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4209, allocations: 0 / 0.5398 GB, free: 52.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0021/0.423, allocations: 0.5742 MB / 0.5404 GB, free: 52.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003478/0.4265, allocations: 2.339 MB / 0.5427 GB, free: 51.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002853/0.4293, allocations: 1.593 MB / 0.5442 GB, free: 50.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4293, allocations: 0 / 0.5442 GB, free: 50.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.4309, allocations: 0.9554 MB / 0.5452 GB, free: 50.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.4323, allocations: 196.2 kB / 0.5453 GB, free: 50.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.4463, allocations: 10.19 MB / 0.5553 GB, free: 43.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.4468, allocations: 1.169 MB / 0.5564 GB, free: 42.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006468/0.4475, allocations: 160.3 kB / 0.5566 GB, free: 42.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.448, allocations: 0.4954 MB / 0.5571 GB, free: 41.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.292e-06/0.448, allocations: 0 / 0.5571 GB, free: 41.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0639/0.5119, allocations: 35.46 MB / 0.5917 GB, free: 6.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.48, allocations: 8.047 kB / 0.5917 GB, free: 6.52 MB / 398.1 MB " [Timeout remaining time 643] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker_fmu --startTime=0 --stopTime=4 --stepSize=0.08 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.305427815997973] Failed to read output from testmodel.py, exit status != 0: 16.706682630989235 16.740662345 16.603448975 Calling exit ...