Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.001347/0.001347, allocations: 117.4 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.001422/0.001422, allocations: 214.3 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.519/1.519, allocations: 207.6 MB / 230.5 MB, free: 4.043 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.06825/0.06825, allocations: 14.41 MB / 296.8 MB, free: 1.879 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.TwoBusesResistiveTransmissionLineFault,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault",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.003703/0.003703, allocations: 71.91 kB / 416.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2834, allocations: 52.87 MB / 469 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01698/0.3004, allocations: 13.92 MB / 482.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.3124, allocations: 5.958 MB / 488.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.3147, allocations: 43.75 kB / 488.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.3168, allocations: 0.7534 MB / 489.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009591/0.3264, allocations: 2.712 MB / 492.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.3296, allocations: 0.7047 MB / 493.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009793/0.3394, allocations: 4.234 MB / 497.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.3404, allocations: 169 kB / 497.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.3437, allocations: 1.413 MB / 498.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.3463, allocations: 1.432 MB / 0.4886 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.3466, allocations: 160 kB / 0.4888 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.3486, allocations: 0.6207 MB / 0.4894 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.3489, allocations: 374.3 kB / 0.4897 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.3506, allocations: 1.248 MB / 0.491 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.3556, allocations: 3.354 MB / 0.4942 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3556, allocations: 0 / 0.4942 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3556, allocations: 0 / 0.4942 GB, free: 8.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.3557, allocations: 0 / 0.4942 GB, free: 8.527 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01232/0.368, allocations: 3.402 MB / 0.4976 GB, free: 5.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.368, allocations: 8.031 kB / 0.4976 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.72e-05/0.3681, allocations: 43.34 kB / 0.4976 GB, free: 5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.3684, allocations: 224.2 kB / 0.4978 GB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.37, allocations: 355.4 kB / 0.4982 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.3728, allocations: 1.428 MB / 0.4996 GB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3729, allocations: 115.2 kB / 0.4997 GB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.3732, allocations: 152 kB / 0.4998 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.3761, allocations: 1.794 MB / 0.5016 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.3762, allocations: 15.88 kB / 0.5016 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.3763, allocations: 68 kB / 0.5016 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.3764, allocations: 40 kB / 0.5017 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.379, allocations: 1.501 MB / 0.5032 GB, free: 15.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.01714/0.3961, allocations: 12.96 MB / 0.5158 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.3992, allocations: 1.766 MB / 0.5175 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.4002, allocations: 0.543 MB / 0.5181 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.211e-05/0.4002, allocations: 21.31 kB / 0.5181 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.4014, allocations: 0.7332 MB / 0.5188 GB, free: 13.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 3.085e-06/0.4014, allocations: 0 / 0.5188 GB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=151): time 0.007082/0.4085, allocations: 2.657 MB / 0.5214 GB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.4087, allocations: 230.9 kB / 0.5216 GB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.4111, allocations: 1.267 MB / 0.5229 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.815e-05/0.4112, allocations: 53.7 kB / 0.5229 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008909/0.4121, allocations: 0.8087 MB / 0.5237 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/0.4128, allocations: 0.5422 MB / 0.5242 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/0.4133, allocations: 315.4 kB / 0.5245 GB, free: 7.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4134, allocations: 305.1 kB / 0.5248 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009031/0.4143, allocations: 499.8 kB / 0.5253 GB, free: 7.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.4156, allocations: 0.9609 MB / 0.5262 GB, free: 5.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4182, allocations: 1.704 MB / 0.5279 GB, free: 3.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.4182, allocations: 4 kB / 0.5279 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.004062/0.4222, allocations: 2.058 MB / 0.5299 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/0.4223, allocations: 72.28 kB / 0.53 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.4224, allocations: 12 kB / 0.53 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4235, allocations: 400.6 kB / 0.5304 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.4253, allocations: 423.3 kB / 0.5308 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.4315, allocations: 4.018 MB / 0.5347 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.4339, allocations: 155.2 kB / 0.5348 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4341, allocations: 68 kB / 0.5349 GB, free: 12.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 (transmissionLine.busFault.fault,$PRE.transmissionLine.busFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine.busFault.Y.im,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * 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): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.4352, allocations: 485.2 kB / 0.5354 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.4358, allocations: 175 kB / 0.5355 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/0.4392, allocations: 1.677 MB / 0.5372 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.4392, allocations: 16 kB / 0.5372 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4392, allocations: 8 kB / 0.5372 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.4392, allocations: 7.969 kB / 0.5372 GB, free: 10.2 MB / 414.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.006428/0.4456, allocations: 3.935 MB / 0.541 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4456, allocations: 0 / 0.541 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.4469, allocations: 271.6 kB / 0.5413 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.4479, allocations: 360.5 kB / 0.5417 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.448, allocations: 31.98 kB / 0.5417 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00588/0.4539, allocations: 3.987 MB / 0.5456 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4539, allocations: 3.984 kB / 0.5456 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.4572, allocations: 1.73 MB / 0.5473 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009275/0.4581, allocations: 443.6 kB / 0.5477 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.4583, allocations: 31.94 kB / 0.5477 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.4601, allocations: 43.98 kB / 0.5478 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.4604, allocations: 93.17 kB / 0.5479 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.4605, allocations: 32.25 kB / 0.5479 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.4626, allocations: 0.845 MB / 0.5487 GB, free: 14.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4626, allocations: 0 / 0.5487 GB, free: 14.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002985/0.4656, allocations: 0.6519 MB / 0.5493 GB, free: 13.43 MB / 430.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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00571/0.4713, allocations: 2.435 MB / 0.5517 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005174/0.4764, allocations: 1.698 MB / 0.5534 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4764, allocations: 0 / 0.5534 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.4791, allocations: 1.001 MB / 0.5544 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.4813, allocations: 208.8 kB / 0.5546 GB, free: 7.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.5037, allocations: 12.77 MB / 0.567 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.5048, allocations: 1.251 MB / 0.5683 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009377/0.5057, allocations: 208.1 kB / 0.5685 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/0.5067, allocations: 0.6125 MB / 0.569 GB, free: 8.539 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5067, allocations: 0 / 0.569 GB, free: 8.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08151/0.5882, allocations: 37.8 MB / 0.606 GB, free: 2.695 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.74, allocations: 8 kB / 0.606 GB, free: 2.688 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.62930188199971] Failed to read output from testmodel.py, exit status != 0: 13.912274312984664 14.102474835 13.744520518 Calling exit ...