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.001839/0.001839, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002313/0.002313, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.443/1.443, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.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.06967/0.06967, allocations: 14.41 MB / 296.8 MB, free: 1.883 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.002217/0.002217, allocations: 67.89 kB / 416.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2501, allocations: 52.88 MB / 469 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.01202/0.2621, allocations: 11.78 MB / 480.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008439/0.2706, allocations: 5.001 MB / 485.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2722, allocations: 39.81 kB / 485.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.2739, allocations: 0.6408 MB / 486.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.2802, allocations: 2.428 MB / 488.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.2817, allocations: 0.5528 MB / 489.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005342/0.2871, allocations: 3.335 MB / 492.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.2875, allocations: 133.2 kB / 492.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.2897, allocations: 1.152 MB / 494.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.2916, allocations: 1.132 MB / 495.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.2919, allocations: 108 kB / 495.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2935, allocations: 0.5231 MB / 495.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.2938, allocations: 282.6 kB / 496.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.2951, allocations: 0.964 MB / 497.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.2987, allocations: 2.501 MB / 499.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2987, allocations: 0 / 499.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2987, allocations: 0 / 499.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.2988, allocations: 0 / 499.6 MB, free: 15.09 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.009497/0.3082, allocations: 2.863 MB / 0.4907 GB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3083, allocations: 8.031 kB / 0.4907 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.286e-05/0.3083, allocations: 34.8 kB / 0.4907 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000229/0.3086, allocations: 194.6 kB / 0.4909 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.3097, allocations: 271.7 kB / 0.4912 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.3118, allocations: 1.102 MB / 0.4922 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3119, allocations: 128.3 kB / 0.4924 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.3121, allocations: 124 kB / 0.4925 GB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.3142, allocations: 1.355 MB / 0.4938 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.3142, allocations: 0 / 0.4938 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.3144, allocations: 52 kB / 0.4939 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.3144, allocations: 36 kB / 0.4939 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.3164, allocations: 1.247 MB / 0.4951 GB, free: 7.457 MB / 366.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.0118/0.3282, allocations: 9.313 MB / 0.5042 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.3308, allocations: 1.428 MB / 0.5056 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.3316, allocations: 0.4953 MB / 0.5061 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/0.3317, allocations: 17.31 kB / 0.5061 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000999/0.3327, allocations: 0.6245 MB / 0.5067 GB, free: 10.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.948e-06/0.3327, allocations: 0 / 0.5067 GB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.009905/0.3426, allocations: 3.139 MB / 0.5098 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.3427, allocations: 141.8 kB / 0.5099 GB, free: 7.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3441, allocations: 0.8871 MB / 0.5108 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.3442, allocations: 49.7 kB / 0.5108 GB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.3447, allocations: 0.5833 MB / 0.5114 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/0.3452, allocations: 0.5344 MB / 0.5119 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3456, allocations: 235.5 kB / 0.5121 GB, free: 4.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3457, allocations: 305.1 kB / 0.5124 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.3464, allocations: 407.8 kB / 0.5128 GB, free: 4.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/0.3473, allocations: 0.6257 MB / 0.5134 GB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.349, allocations: 1.186 MB / 0.5146 GB, free: 2.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.349, allocations: 0 / 0.5146 GB, free: 2.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003484/0.3525, allocations: 1.746 MB / 0.5163 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.3526, allocations: 63.41 kB / 0.5163 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3526, allocations: 4 kB / 0.5164 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.3543, allocations: 0.497 MB / 0.5168 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.3556, allocations: 311.6 kB / 0.5171 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/0.3633, allocations: 4.809 MB / 0.5218 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.3646, allocations: 95.5 kB / 0.5219 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.3647, allocations: 48 kB / 0.522 GB, free: 10.5 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.0005568/0.3652, allocations: 351.3 kB / 0.5223 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.3655, allocations: 143.1 kB / 0.5224 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.3688, allocations: 1.626 MB / 0.524 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.3688, allocations: 16 kB / 0.524 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3688, allocations: 0 / 0.524 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.3688, allocations: 7.969 kB / 0.524 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/0.374, allocations: 3.296 MB / 0.5273 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.374, allocations: 0 / 0.5273 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.3751, allocations: 255.7 kB / 0.5275 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.3766, allocations: 484.3 kB / 0.528 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.3767, allocations: 20 kB / 0.528 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007183/0.3839, allocations: 4.687 MB / 0.5326 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3839, allocations: 0 / 0.5326 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.3872, allocations: 1.668 MB / 0.5342 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.3879, allocations: 359.8 kB / 0.5345 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.3881, allocations: 28 kB / 0.5346 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/0.389, allocations: 36 kB / 0.5346 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.3892, allocations: 101.2 kB / 0.5347 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.3893, allocations: 36 kB / 0.5347 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008624/0.3902, allocations: 0.602 MB / 0.5353 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3902, allocations: 0 / 0.5353 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001589/0.3918, allocations: 0.5778 MB / 0.5359 GB, free: 11.9 MB / 414.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.003653/0.3954, allocations: 2.339 MB / 0.5382 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.3985, allocations: 1.593 MB / 0.5397 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3985, allocations: 0 / 0.5397 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.4002, allocations: 0.96 MB / 0.5407 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.4014, allocations: 198.4 kB / 0.5409 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/0.4179, allocations: 10.18 MB / 0.5508 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/0.4187, allocations: 1.168 MB / 0.5519 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006373/0.4194, allocations: 169.6 kB / 0.5521 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/0.4201, allocations: 0.4954 MB / 0.5526 GB, free: 10.41 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4201, allocations: 0 / 0.5526 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06819/0.4883, allocations: 34.19 MB / 0.586 GB, free: 8.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.37, allocations: 12 kB / 0.586 GB, free: 8.168 MB / 462.1 MB " [Timeout remaining time 644] (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: 17.935445103037637] Failed to read output from testmodel.py, exit status != 0: 15.555576171958819 15.572221265 15.269953832 Calling exit ...