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.001293/0.001293, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001443/0.001443, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.498/1.498, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.06827/0.06827, allocations: 14.38 MB / 300.5 MB, free: 7.254 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.002115/0.002115, allocations: 75.02 kB / 421.4 MB, free: 39.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09195, allocations: 52.89 MB / 474.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.01149/0.1034, allocations: 10.28 MB / 484.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007893/0.1113, allocations: 4.631 MB / 489.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1125, allocations: 35.81 kB / 489.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.114, allocations: 0.6018 MB / 489.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00628/0.1203, allocations: 2.367 MB / 492.2 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1217, allocations: 0.5132 MB / 492.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005167/0.1269, allocations: 3.346 MB / 496.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000506/0.1274, allocations: 141.5 kB / 496.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.1295, allocations: 1.152 MB / 497.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.1313, allocations: 1.132 MB / 498.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.1315, allocations: 108 kB / 498.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.1329, allocations: 0.5153 MB / 499.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.1332, allocations: 278.7 kB / 499.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.1342, allocations: 0.8047 MB / 0.4885 GB, free: 8.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.1378, allocations: 2.511 MB / 0.4909 GB, free: 5.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1378, allocations: 0 / 0.4909 GB, free: 5.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1378, allocations: 0 / 0.4909 GB, free: 5.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.981e-05/0.1378, allocations: 0 / 0.4909 GB, free: 5.715 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.009619/0.1474, allocations: 2.784 MB / 0.4936 GB, free: 2.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1475, allocations: 8.031 kB / 0.4937 GB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.951e-05/0.1475, allocations: 42.8 kB / 0.4937 GB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/0.1478, allocations: 194.6 kB / 0.4939 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.149, allocations: 271.7 kB / 0.4941 GB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.1513, allocations: 1.015 MB / 0.4951 GB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.1515, allocations: 158 kB / 0.4953 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.1516, allocations: 127.9 kB / 0.4954 GB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.154, allocations: 1.38 MB / 0.4968 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.154, allocations: 8 kB / 0.4968 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.1541, allocations: 52 kB / 0.4968 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.1542, allocations: 32 kB / 0.4968 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.1564, allocations: 1.276 MB / 0.4981 GB, free: 14.17 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.0106/0.167, allocations: 5.368 MB / 0.5033 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.1695, allocations: 1.3 MB / 0.5046 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008018/0.1703, allocations: 0.5166 MB / 0.5051 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.1704, allocations: 17.31 kB / 0.5051 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.1715, allocations: 0.6573 MB / 0.5058 GB, free: 6.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 5.541e-06/0.1715, allocations: 0 / 0.5058 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.01008/0.1816, allocations: 3.116 MB / 0.5088 GB, free: 2.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.1817, allocations: 149.8 kB / 0.5089 GB, free: 2.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.1831, allocations: 0.8832 MB / 0.5098 GB, free: 1.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.1832, allocations: 53.7 kB / 0.5099 GB, free: 1.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.1837, allocations: 0.5794 MB / 0.5104 GB, free: 1.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.1843, allocations: 0.5305 MB / 0.5109 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.1847, allocations: 231.5 kB / 0.5112 GB, free: 484 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1848, allocations: 309.1 kB / 0.5115 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007529/0.1855, allocations: 471.3 kB / 0.5119 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009452/0.1865, allocations: 0.676 MB / 0.5126 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.1882, allocations: 1.171 MB / 0.5137 GB, free: 13.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.1882, allocations: 4 kB / 0.5137 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003749/0.192, allocations: 1.8 MB / 0.5155 GB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.1921, allocations: 63.39 kB / 0.5155 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.1921, allocations: 4 kB / 0.5155 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.1938, allocations: 0.4973 MB / 0.516 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.1951, allocations: 311.6 kB / 0.5163 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.2029, allocations: 4.6 MB / 0.5208 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.2046, allocations: 91.5 kB / 0.5209 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2047, allocations: 52 kB / 0.521 GB, free: 6.109 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.0006902/0.2054, allocations: 351.2 kB / 0.5213 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.2057, allocations: 151 kB / 0.5214 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.209, allocations: 1.647 MB / 0.523 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.209, allocations: 12 kB / 0.523 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.209, allocations: 0 / 0.523 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.2091, allocations: 15.95 kB / 0.5231 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.2145, allocations: 2.869 MB / 0.5259 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2145, allocations: 3.938 kB / 0.5259 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.2156, allocations: 251.7 kB / 0.5261 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.2171, allocations: 480.3 kB / 0.5266 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.2172, allocations: 27.98 kB / 0.5266 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.223/0.4402, allocations: 4.442 MB / 0.5309 GB, free: 59.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4402, allocations: 0 / 0.5309 GB, free: 59.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.4435, allocations: 1.698 MB / 0.5326 GB, free: 58.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008249/0.4443, allocations: 275 kB / 0.5329 GB, free: 58.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4445, allocations: 31.02 kB / 0.5329 GB, free: 58.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/0.4454, allocations: 43.8 kB / 0.5329 GB, free: 58.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.4457, allocations: 115.7 kB / 0.533 GB, free: 58.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.4458, allocations: 34.39 kB / 0.5331 GB, free: 58.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008965/0.4467, allocations: 0.6044 MB / 0.5337 GB, free: 58.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4467, allocations: 1.094 kB / 0.5337 GB, free: 58.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001541/0.4482, allocations: 0.5741 MB / 0.5342 GB, free: 58.19 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.003559/0.4518, allocations: 2.357 MB / 0.5365 GB, free: 56.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.455, allocations: 1.674 MB / 0.5382 GB, free: 55.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.455, allocations: 0.5 kB / 0.5382 GB, free: 55.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.4565, allocations: 0.9852 MB / 0.5391 GB, free: 55.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.4578, allocations: 191.6 kB / 0.5393 GB, free: 55.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.4743, allocations: 10.44 MB / 0.5495 GB, free: 49.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.4749, allocations: 0.5799 MB / 0.5501 GB, free: 49.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006275/0.4755, allocations: 159.9 kB / 0.5502 GB, free: 49.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.4761, allocations: 0.4957 MB / 0.5507 GB, free: 48.86 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4761, allocations: 0 / 0.5507 GB, free: 48.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0643/0.5404, allocations: 34.35 MB / 0.5842 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/16.82, allocations: 4.062 kB / 0.5842 GB, free: 15.45 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.668166430084966] Failed to read output from testmodel.py, exit status != 0: 17.019915034994483 17.038452422 16.897030241 Calling exit ...